discord.js
A powerful JavaScript library for interacting with the Discord API observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 98
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 4041
- days_rel: 45
- days_push: 16
- n_releases_24m: 81
Adoption not part of the score
26805 stars · 4073 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
discord.js is a powerful, object-oriented Node.js library for interacting with the Discord API, covering gateway events, REST calls, slash commands, and voice. It is the most popular way to build Discord bots in JavaScript or TypeScript.
Use cases
- build a discord bot in nodejs
- handle slash commands and interactions on discord
- send and receive messages via the discord api
- add voice support to a discord bot
- create a moderation bot for a discord server
- scaffold a new discord bot project quickly
When to choose
- you are building a Discord bot in JavaScript or TypeScript on Node.js
- you want full, well-abstracted coverage of the Discord API with an object-oriented design
- you need a mature, actively maintained library with a large community and official guide
When to avoid
- you are building bots for platforms other than Discord
- you need a Python, Go, or Rust Discord library
- you want a zero-abstraction raw HTTP wrapper without object-oriented conveniences
Facets
library · maturity stable
sdk http-client websocket chatbot messaging-platforms developer-tools apis cross-platform discord-api discord-bot bot-framework typescript voice-support slash-commands automation nodejs
3 sources
- readme: https://github.com/discordjs/discord.js · fetched 2026-08-28 · 7f54d7176662
- homepage: https://discord.js.org · fetched 2026-08-29 · 64b23a1c02fd
- site_page: https://discord.js.org/docs · fetched 2026-08-29 · 9d99076dcf33
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| discordjs/discord.js | main | 92 |
| discordjs/guide | docs | 10 |
For agents
markdown · JSON · MCP: product_card(name="discordjs/discord.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem