utils-discord
v3.0.1
Published
A package containing some basic and common yet important and useful utility functions such as Shuffle Array, Remove Duplicates, Verification, Mongoose Funtions, Create Embed Pages etc. [Supports discord.js v12 and v13]
Downloads
50
Maintainers
Readme
Discord-Utility
A package containing some basic and common yet important and useful utility functions such as Shuffle Array, Remove Duplicates, Verification, etc. This package supports both Discord.js v12 and Discord.js v13 AND v14
If you encounter any bugs, feel free to open an issue ticket in github
Introduction
utils-discord
is a module especially made for discord.js bot development to make the development easy by providing important utility functions premade. utils-discord is easy to use and makes your code become shorter and easier to make bots.
Updates (Last few updates)
- Fix
author
parameter ingenerateEmbed()
andcreateEmbedPages()
- Added v14 support
- Fixed
mongoCreate()
not returning the created data. - Fixed
createEmbedPages()
now able to make more than 1 embed page in a channel (whenbuttons: true
parameter is passed) - Fixes in
generateEmbed()
andcreateEmbedPages()
- Fixed few commands not working with slash commands
Features
- Easy to use
- Supports Discord.js v12 and v13 and v14 For users using discord.js v12, make sure to install
discord-buttons
(npm i discord-buttons
) - Supports discord buttons (both discord.js v12 and v13)
- Tons of premade functions to implement in your code easily
- Includes Mongoose functions. Make bot using MongoDB easily
- Functions are customizable such as
DiscordUtility.createEmbedPages()
. You can customize almost everything of embed/emoji/buttons! - Support always available!
Basic Usage
Installation
npm install utils-discord --save
Usage
Import the utils-discord
package :
const DiscordUtility = require("utils-discord");
Functions List and Documentation
- For Documentation, head over to Documentations
Support
If you are facing any issues or if you have found a bug in this package, feel free to open an issue in the github repository. Click Here You can contribute to this package. Feel free to create a pull request You can also reach out to me through discord. My user tag is -> ♡ Rem ♡#2135