Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 2.42 KB

README.md

File metadata and controls

58 lines (38 loc) · 2.42 KB

Discord Advanced Logo


Documentation (soon)DiscordGitHub


Optimize development of advanced discord.js bots with a collection of class builders, handlers, utility functions, advanced logging, plugin support and more.

Discord Server NPM Version NPM Downloads Test Status NPM Size


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