[go: up one dir, main page]

discord-advanced
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

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

Package Sidebar

Install

npm i discord-advanced

Weekly Downloads

7

Version

0.0.5

License

ISC

Unpacked Size

53 kB

Total Files

8

Last publish

Collaborators

  • slekup