- The handler has been updated to Discord.JS
14.2.0
. - Command options have been fully rewrited, improved, tested and can be applied to both
MessageCommands
andInteraction Commands
. - The command options
cooldown
,requiredRoles
,requiredAnyRole
do not exist. - The file
Config.js
has been moved from the root directory toSrc/Credentials
. - The argument
container
which was passed in commands and was used to access config andDiscord
does not exist anymore and instead you now have to import everything manually. - The collection used for storing commands and events have been renamed. [ Check below for renamed versions. ]
- These are the current
Command Options
that are currently avaliable:
allowInDms
allowBots
allClientPermissions
allUserPermissions
anyClientPermissions
anyUserPermissions
expireAfter
limitUses
onlyChannels
onlyGuilds
onlyUsers
ownerOnly
- Both the
MessageCreate
andInteractionCreate
events have been improved and are executed from their own file now instead of being dependent onloadCommandOptions
. - The handler now contains all the basic
Events
,MessageCommands
andInteractions
examples given by default to help the user understand the format easier. - Significant changes have been made to
SlashCommands
andContextMenus
and the format now requires the command type to be specificed, you may learn the new format by seeing their example commands which are already given. - Interaction commands are now given their own seperate folder i.e
Src/Interactions/<InteractionType>
for better management. - The message now no longer require to be lowercase. For example before the command
Eval
was forced to be only!eval
but now you can do!eVaL
and it would be accepted. bot.js
now only exportsclient
androotPath
.- The utility function
Filer.js
does not exist anymore and is replaced with the packagenode-recursive-directory
. - The client has been improved to increase performance and consume much less memory.
- Startup logging has been changed and is no longer a box as the package
cli-box
is no longer used. - Detailed format information at here
Click me to go the official documentation site which has all the required information.
Click here to see frequently asked questions
- Chalk Logging
- Organized layout and easily customizable.
- Includes
MessageCommands
,SelectMenus
,Buttons
,ContextMenus
,SlashCommands
,ModalForms
handler. - Inbuilt many command options that can be applied to all types of commands. (They will not work on events.)
- Frequent updates to stay as upto date as possible.
- NodeJS V16 and above.
ContextMenus
andSlashCommands
take 5 second each command file to create and update because of Discord's Ratelimit. But therun()
function is updated immediately on startup so if you only need to update existing command code then it will be done instantly so thats a nice thing :D.- Global commands can take upto a hour to update because that's how Discord made global commands so we cannot do anything about it.
- These are the collections where events and commands are stored.
<Client>.messageCommands // Normal message commands collection.
<Client>.messageCommands_Aliases // Normal message commands aliases collection.
<Client>.events // Events collection.
<Client>.slashCommands // SlashCommands collection.
<Client>.contextMenus // ContextMenus collection.
<Client>.selectMenus // SelectMenus collection.
<Client>.buttonCommands // ButtonCommands collection.
<Client>.modalForms // ModalForms collection.
- Install the required modules using the command
npm i
in your console and wait for it to finish. - Fill all the fields in
Src/Credentials/Config.js
. - Use the command
node bot.js
ornode .
to start the bot and enjoy :D
If you want to contribute towards this repository then follow these steps.
- Fork this Repository.
- Edit your fork and save the changes you want to make.
- Open the pull request.
- We will check out the code and if it is fine then your PR will be merged.