A powerful JavaScript library for interacting with the Discord API
Find a file
Qjuh da455bceea
feat: mainlib docs on new website (#9930)
* fix(ExceptText): don't display import("d..-types/v10"). in return type

* Squashed 'packages/api-extractor-model/' content from commit 39ecb196c

git-subtree-dir: packages/api-extractor-model
git-subtree-split: 39ecb196ca210bdf84ba6c9cadb1bb93571849d7

* Squashed 'packages/api-extractor/' content from commit 341ad6c51

git-subtree-dir: packages/api-extractor
git-subtree-split: 341ad6c51b01656d4f73b74ad4bdb3095f9262c4

* feat(api-extractor): add api-extractor and -model

* fix: package.json docs script

* fix(SourcLink): use <> instead of function syntax

* fix: make packages private

* fix: rest params showing in docs, added labels

* fix: missed two files

* feat: merge docs.json from docgen and docs.api.json

* fix: cpy-cli & pnpm-lock

* fix: increase icon size

* fix: icon size again

* feat: run both docs on mainlib

* chore: website fixes

* fix: more website fixes

* fix: tests and dev database script

* chore: comment out old docs

* fix: increase max fetch cache

* fix: env should always be a string

* fix: try to reapply patches

* fix: remove prepare for docgen

* fix: temporary cosmetic fixes

* fix: horizontal scroll

* feat: generate index for new docs

---------

Co-authored-by: Noel <buechler.noel@outlook.com>
2023-11-08 10:16:54 +01:00
.github feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
.husky build: pnpm (#9806) 2023-08-27 20:24:03 +02:00
.vscode chore: update deps 2023-11-06 21:38:45 +01:00
apps feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
packages feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
patches feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
.commitlintrc.json chore: config overhaul 2023-08-22 01:33:47 +02:00
.dockerignore chore: refactor workspace 2023-05-03 02:14:22 +02:00
.gitattributes According to the spec just this should work 2017-04-19 17:55:00 +02:00
.gitignore build: ignores/swap/concurrency 2023-08-24 21:58:34 +02:00
.lintstagedrc.json build: refactor linting 2023-08-22 09:40:11 +02:00
.npmrc build: package api-extractor and -model (#9920) 2023-11-07 21:53:36 +01: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: package api-extractor and -model (#9920) 2023-11-07 21:53:36 +01:00
codecov.yml test: fix coverage reporting (#9148) 2023-02-19 18:59:35 +00:00
eslint.config.js feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
LICENSE chore: add license to root 2022-07-19 20:11:23 +02:00
package.json feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
pnpm-lock.yaml feat: mainlib docs on new website (#9930) 2023-11-08 10:16:54 +01:00
pnpm-workspace.yaml build: pnpm (#9806) 2023-08-27 20:24:03 +02:00
README.md chore: cloudflare sponsorship 2023-05-05 20:29:10 +02:00
tsconfig.docs.json chore: config overhaul 2023-08-22 01:33:47 +02:00
tsconfig.eslint.json build: refactor linting setup 2023-08-24 06:43:23 +02:00
tsconfig.json build: pnpm (#9806) 2023-08-27 20:24:03 +02:00
tsup.config.ts build: pnpm (#9806) 2023-08-27 20:24:03 +02:00
turbo.json build: package api-extractor and -model (#9920) 2023-11-07 21:53:36 +01:00
unocss.config.ts chore: @types/node and unocss fix 2023-11-06 23:55:13 +01:00
vitest.config.ts build: Update vite and other related dependencies (#9772) 2023-08-13 21:36:23 +02:00


discord.js


Discord server npm version npm downloads Tests status 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
  • @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/voice (source) - A module for interacting with the Discord Voice API
  • @discordjs/util (source) - A collection of utility functions
  • @discordjs/ws (source) - A wrapper around Discord's gateway

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.