A powerful JavaScript library for interacting with the Discord API
  • TypeScript 61.1%
  • JavaScript 28.5%
  • MDX 10.1%
  • CSS 0.2%
Find a file
Almeida 40ce0791a8
Some checks failed
Publish dev / npm publish (push) Has been cancelled
Publish dev docker images / Build linux/amd64 (push) Has been cancelled
Publish dev docker images / Build linux/arm64 (push) Has been cancelled
Publish dev docker images / Create and push manifest list (push) Has been cancelled
Documentation / Build & upload documentation (push) Has been cancelled
Tests / Tests (push) Has been cancelled
Documentation / Build & upload search indices (push) Has been cancelled
Label sync / Label sync (push) Has been cancelled
Lock Ancient Issues / action (push) Has been cancelled
feat(ApplicationsAPI): add getActivityInstance method (#11482)
feat(core): add getActivityInstance to ApplicationsAPI

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-04-24 17:11:18 +00:00
.github chore: move proxy-container to apps (#11435) 2026-03-02 19:34:45 +00:00
.husky chore: fix executable file permissions (#11216) 2025-10-26 21:48:40 +00:00
.vscode chore: Update deno.unstable to an array (#11032) 2025-08-12 07:10:46 +00:00
apps chore(readme): update related libraries link (#11487) 2026-04-13 16:20:06 +00:00
packages feat(ApplicationsAPI): add getActivityInstance method (#11482) 2026-04-24 17:11:18 +00:00
patches chore: bump dependencies (#11225) 2025-10-31 11:15:45 +00:00
.commitlintrc.json chore: allow ! to indicate breaking changes (#10430) 2024-08-08 21:50:20 +00:00
.dockerignore chore: refactor workspace 2023-05-03 02:14:22 +02:00
.git-blame-ignore-revs chore: ignore eslint-config-neon change commit in blame (#10919) 2025-06-02 19:32:07 +02:00
.gitattributes chore(gitattributes): mark pnpm-lock.yaml as generated (#10159) 2024-03-04 00:15:47 +01:00
.gitignore feat(api-extractor): support multiple entrypoints (#10829) 2025-05-12 23:48:41 +02:00
.lintstagedrc.json build: refactor linting 2023-08-22 09:40:11 +02:00
.prettierignore build: bump discord-api-types (#9908) 2023-10-23 13:09:35 +00:00
.prettierrc.json chore: config overhaul 2023-08-22 01:33:47 +02:00
api-extractor.json build: Upgrade dependencies and pnpm (#11420) 2026-02-20 17:44:38 +00:00
biome.json chore: move pnpm settings to pnpm-workspace.yaml (#10828) 2025-04-10 17:42:05 +00:00
codecov.yml test: fix coverage reporting (#9148) 2023-02-19 18:59:35 +00:00
eslint.config.js chore: move proxy-container to apps (#11435) 2026-03-02 19:34:45 +00:00
LICENSE chore: add license to root 2022-07-19 20:11:23 +02:00
package.json chore: upgrade dependencies (#11470) 2026-03-31 09:57:57 +01:00
pnpm-lock.yaml chore: upgrade dependencies (#11470) 2026-03-31 09:57:57 +01:00
pnpm-workspace.yaml chore: upgrade dependencies (#11470) 2026-03-31 09:57:57 +01:00
README.md chore(readme): update related libraries link (#11487) 2026-04-13 16:20:06 +00:00
tsconfig.docs.json build: fix the messy dependency graph 2023-11-09 00:13:01 +01:00
tsconfig.eslint.json build: fix the messy dependency graph 2023-11-09 00:13:01 +01:00
tsconfig.json feat: add support for using keyword on discord.js Client and WebSocketManager (#10063) 2024-02-13 17:48:56 +00:00
tsup.config.ts build: multi-config build and dep update 2023-11-14 01:26:22 +01:00
turbo.json chore: bump dependencies (#10967) 2025-07-13 19:39:47 +00:00
unocss.config.ts chore: move pnpm settings to pnpm-workspace.yaml (#10828) 2025-04-10 17:42:05 +00:00
vitest.config.ts chore: upgrade vitest to v4 (#11336) 2025-12-08 18:55:45 +00:00


discord.js


Discord server npm version npm downloads Tests status Last commit. contributors backers Code coverage

Vercel Cloudflare Workers

About

This repository contains multiple packages with separate releases. You can find the assembled Discord API wrapper at discord.js. It is a powerful Node.js module that allows you to easily interact with the Discord API.

Packages

  • discord.js (source) - A powerful Node.js module for interacting with the Discord API
  • create-discord-bot (source) - A CLI tool to quickly scaffold a Discord bot project
  • @discordjs/brokers (source) - A collection of brokers for use with discord.js
  • @discordjs/builders (source) - A utility package for easily building Discord API payloads
  • @discordjs/collection (source) - A powerful utility data structure
  • @discordjs/core (source) - A thinly abstracted wrapper around the core components of the Discord API
  • @discordjs/formatters (source) - A collection of functions for formatting strings
  • @discordjs/proxy (source) - A wrapper around @discordjs/rest for running an HTTP proxy
  • @discordjs/rest (source) - A module for interacting with the Discord REST API
  • @discordjs/structures (source) - A wrapper around Discord's structures
  • @discordjs/util (source) - A collection of utility functions
  • @discordjs/voice (source) - A module for interacting with the Discord Voice API
  • @discordjs/ws (source) - A wrapper around Discord's gateway

Containers

  • discordjs/proxy (source) - A lightweight HTTP proxy for Discord's API

Extensions

Contributing

Please read through our contribution guidelines 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 label on issues in the repository. If you have any questions about the project, feel free to ask them on 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.