* refactor: using eslint-config-neon on mainlib * fix: lint * fix: lint * fix: the way we lint * chore: lint some more * fix: more lint changes * fix: type tests * chore: port eslint rule * refactor: lintstaged doesn't need this * fix: eslint was a bit too eager * fix: forgot Client * Apply suggestions from code review Co-authored-by: Almeida <github@almeidx.dev> * chore: more lint fixes * fix: remove useless Boolean() * fix: get docs back * fix: snowflake docs * refactor: don't use typescript lint rules * fix: code review * fix: tidy up disabled rules * chore: code review * chore: code review * chore: code review * fix: consistent spacing in typings * fix: tests * fix: unsort ErrorCodes * chore: get comments back * Update packages/discord.js/src/client/websocket/handlers/THREAD_LIST_SYNC.js Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> * fix: remove unused parameter * fix: merge messed up types * fix: more type mess from merge * fix: generate script for ActionsManager * fix: code review * Update packages/discord.js/src/structures/MessageMentions.js Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> * Update packages/discord.js/src/structures/Presence.js Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> * fix: replace is faster, unicorn is wrong * fix: consistency * fix: delete obsolete file * fix: minor nit in test file --------- Co-authored-by: Almeida <github@almeidx.dev> Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
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/restfor 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
Links
- Website (source)
- Documentation
- Guide (source) Also see the v13 to v14 Update Guide, which includes updated and removed items from the library.
- discord.js Discord server
- Discord API Discord server
- GitHub
- npm
- Related libraries
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.