[go: up one dir, main page]

Skip to content

Optimize discord.js bot development with pre-made utilities and enhancements.

Notifications You must be signed in to change notification settings

slekup/discord-advanced

Repository files navigation

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

About

Optimize discord.js bot development with pre-made utilities and enhancements.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published