discover · compare · collections · requirements · contribute · feed · watching · stats · help with your tokens
discordjs/discord.js · source
Snapshot 0 · 2026-11-04T12:47:23Z · TypeScript · Apache-2.0
Content fingerprint
3ea8f5a3bae363028b29d5c21d51485b38684c06deebbea95febdd22239d627fGitHub description at capture
A powerful JavaScript library for interacting with the Discord API
README at capture
<div align="center"> <br /> <p> <a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a> </p> <br /> <p> <a href="https://discord.gg/djs"><img src="https://img.shields.io/badge/join_us-on_discord-5865F2?logo=discord&logoColor=white" alt="Discord server" /></a> <a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/v/discord.js.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/discord.js"><img src="https://img.shields.io/npm/dt/discord.js.svg?maxAge=3600" alt="npm downloads" /></a> <a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/tests.yml/badge.svg" alt="Tests status" /></a> <a href="https://github.com/discordjs/discord.js/commits/main"><img src="https://img.shields.io/github/last-commit/discordjs/discord.js.svg?logo=github&logoColor=ffffff" alt="Last commit." /></a> <a href="https://github.com/discordjs/discord.js/graphs/contributors"><img src="https://img.shields.io/github/contributors/discordjs/discord.js.svg?maxAge=3600&logo=github&logoColor=fff&color=00c7be" alt="contributors" /></a> <a href="https://opencollective.com/discordjs"><img src="https://img.shields.io/opencollective/backers/discordjs?maxAge=3600&logo=opencollective" alt="backers" /></a> <a href="https://codecov.io/gh/discordjs/discord.js"><img src="https://codecov.io/gh/discordjs/discord.js/branch/main/graph/badge.svg?precision=2" alt="Code coverage" /></a> </p> <p> <a href="https://vercel.com/?utm_source=discordjs&utm_campaign=oss"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-vercel.svg" alt="Vercel" /></a> <a href="https://www.cloudflare.com"><img src="https://raw.githubusercontent.com/discordjs/discord.js/main/.github/powered-by-workers.png" alt="Cloudflare Workers" height="44" /></a> </p> </div> ## About This repository contains multiple packages with separate [releases][github-releases]. You can find the assembled Discord API wrapper at [`discord.js`][source]. It is a powerful [Node.js](https://nodejs.org/en) module that allows you to easily interact with the [Discord API](https://discord.com/developers/docs/intro). ## Packages - `discord.js` ([source][source]) - A powerful Node.js module for interacting with the Discord API - `create-discord-bot` ([source][create-discord-bot-source]) - A CLI tool to quickly scaffold a Discord bot project - `@discordjs/brokers` ([source][brokers-source]) - A collection of brokers for use with discord.js - `@discordjs/builders` ([source][builders-source]) - A utility package for easily building Discord API payloads - `@discordjs/collection` ([source][collection-source]) - A powerful utility data structure - `@discordjs/core` ([source][core-source]) - A thinly abstracted wrapper around the core components of the Discord API - `@discordjs/formatters` ([source][formatters-source]) - A collection of functions for formatting strings - `@discordjs/proxy` ([source][proxy-source]) - A wrapper around `@discordjs/rest` for running an HTTP proxy - `@discordjs/rest` ([source][rest-source]) - A module for interacting with the Discord REST API - `@discordjs/rpc` ([source][rpc-source]) - A simple RPC client for Discord - `@discordjs/structures` ([source][structures-source]) - A wrapper around Discord's structures - `@discordjs/util` ([source][util-source]) - A collection of utility functions - `@discordjs/voice` ([source][voice-source]) - A module for interacting with the Discord Voice API - `@discordjs/ws` ([source][ws-source]) - A wrapper around Discord's gateway ## Containers - `discordjs/proxy` ([source][proxy-container-source]) - A lightweight HTTP proxy for Discord's API ## Links - [Website][website] ([source][website-source]) - [Documentation][documentation] - [Guide][guide] ([source][guide-source]) Also see the v13 to v14 [Update Guide][guide-update], which includes updated and removed items from the library. - [discord.js Discord server][discord] - [Discord Developers Discord server][discord-developers] - [GitHub][source] - [npm][npm] - [Related libraries][related-libs] ## Contributing Please read through our [contribution guidelines][contributing] before starting a pull request. We welcome contributions of all kinds, not just code! If you're stuck for ideas, look for the [good first issue][good-first-issue] label on issues in the repository. If you have any questions about the project, feel free to ask them on [Discord][discord]. Before creating your own issue or pull request, always check to see if one already exists! Don't rush contributions, take your time and ensure you're doing it correctly. ## Help If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please join our [Discord server][discord]. [website]: https://discord.js.org [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website [documentation]: https://discord.js.org/docs [guide]: https://discordjs.guide [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide [guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14 [discord]: https://discord.gg/djs [discord-developers]: https://discord.gg/discord-developers [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js [npm]: https://www.npmjs.com/package/discord.js [related-libs]: https://docs.discord.com/developers/developer-tools/community-resources#libraries [contributing]: https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md [github-releases]: https://github.com/discordjs/discord.js/releases [create-discord-bot-source]: https://github.com/discordjs/discord.js/tree/main/packages/create-discord-bot [brokers-source]: https://github.com/discordjs/discord.js/tree/main/packages/brokers [builders-source]: https://github.com/discordjs/discord.js/tree/main/packages/builders [collection-source]: https://github.com/discordjs/discord.js/tree/main/packages/collection [core-source]: https://github.com/discordjs/discord.js/tree/main/packages/core [formatters-source]: https://github.com/discordjs/discord.js/tree/main/packages/formatters [proxy-source]: https://github.com/discordjs/discord.js/tree/main/packages/proxy [rest-source]: https://github.com/discordjs/discord.js/tree/main/packages/rest [rpc-source]: https://github.com/discordjs/discord.js/tree/main/packages/rpc [structures-source]: https://github.com/discordjs/discord.js/tree/main/packages/structures [util-source]: https://github.com/discordjs/discord.js/tree/main/packages/util [voice-source]: https://github.com/discordjs/discord.js/tree/main/packages/voice [ws-source]: https://github.com/discordjs/discord.js/tree/main/packages/ws [proxy-container-source]: https://github.com/discordjs/discord.js/tree/main/apps/proxy-container [good-first-issue]: https://github.com/discordjs/discord.js/contribute