# Discord.js — card for AI agents

Powerful Node.js SDK for building Discord bots and applications.

Category: SDKs for hosted services · npm package `discord.js` · latest version 14.28.0 (checked 2026-11-01)
Install: `npm install discord.js`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 65.1 (#672 of all tools, 20 of 287 in its category)
- Used in 11 public projects set up for AI coding agents (0.2%)
- Downloads last week: 2,016,656 (as of 2026-11-24), +45.9% over 4 weeks
- GitHub stars: 26,837 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
dotenv 59.0%, Axios 31.4%, Anthropic SDK 29.5%, Solana Web3.js 28.6%, ws 26.7%, TypeScript 75.2%

## Links
- AgentGid page: https://agentgid.com/tools/discord-js/
- Homepage: https://discord.js.org
- Repository: https://github.com/discordjs/discord.js

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
