Documentation (soon) • Discord • GitHub
Optimize development of advanced discord.js bots with a collection of class builders, handlers, utility functions, advanced logging, plugin support and more.
Discord advanced provides a collection of class builders, handlers, utility functions, advanced logging, plugin support and more to optimize development of advanced discord.js bots.
Warning: This library is still in development and is not ready for production use. There may be breaking changes in the future.
Installation
# Using npm
> npm install discord-advanced
# Using yarn or pnpm
> yarn/pnpm add discord-advanced
Usage
Importing
This library supports both typescript and javascript, with ES6 modules and CommonJS.
// ES6 modules
import { DiscordLogger } from 'discord-advanced';
// CommonJS
const { DiscordLogger } = require('discord-advanced');
Functions
Function | Description |
---|---|
defer |
An adaptable version of interaction.deferReply() to defer any interaction. |
followUp |
An adaptable version of interaction.followUp() to follow up any interaction after a defer. |
respond |
An adaptable version of interaction.reply() to respond to any interaction. |
Classes
Class | Description |
---|---|
DiscordLogger |
Logs leveled console messages to discord channels |