Releases: TFAGaming/DiscordJS-V14-Bot-Template
Version 2.3.0
Features added:
- Support for developer-only commands (#42)
- Support for NSFW only commands (#43)
- Message settings (#48)
- Guild commands registration (#50)
- Public and private modes for components (buttons and select menus only) (#51)
- Autocomplete and global cooldown handlers (#53)
Bug fixes:
- Voice channel state always returns
true
in user-info.js command (#45) - Not using the .env key
CLIENT_ID
in deploy.js (#46) - deploy.js won't deploy globally when the guild ID is missing for guild commands registration (#52)
- Modals unable to respond to any of modal interactions (5f4acd5)
- MongoDB won't connect after the property update (#55)
Other updates:
Version 2.2.0
- Modals handler added.
- Custom presence added (discord.js v14.13.0).
- Cooldown system handler added for message and application commands.
- Permissions system handler added for message commands.
Version 2.1.0
- Add components support: You can now handle buttons, select menus, modals... etc.
- Support for
.env
file. - Toggle whenever you need MongoDB for your project or not (as a result, MongoDB is now optional).
- Fixed
help.js
,ping.js
, andmessageCreate.js
: If MongoDB is not connected, the commands/events files use directly the default config prefix instead of throwing an error.
Version 2.0.0
A new rebuild of the old code.
- A lot of bug fixes.
- More features.
Version v1.7.0 Last
The last release of the v1.x.x versions.
- Few bug fixes.
- More updates.
Version 1.6.0
This was a pretty long time with no new releases, but here is a new one!
• Fixed Users.OWNERS
error. (Issue #19)
• New folder "Installation Guide" for organized installation guides.
Thank you all for 90+ stars, I hope you all the best. ❤️
Version 1.5.2
- Message commands event has been added.
I forgot to add this:
if (interaction.isMessageContextMenuCommand()) { // Message:
const command = client.message_commands.get(interaction.commandName);
if (!command) return;
try {
command.run(client, interaction, config, db);
} catch (e) {
console.error(e)
};
};
Thanks for kanetjuh because they told me the error. :)
- Modals handler fixed.
When a modal file has been loaded, it says in the console the file is undefined
.
Version 1.5.1
- Modals handler has been added.
module.exports = {
id: "", // The Modal ID that you have added into a slash command, user command or message command.
run: async (client, interaction, config, db) => { // The code after a user has clicked on "Submit" on the modal.
},
};
- Message commands collection bug has been fixed.
Version 1.5.0
- Add User commands handler with Slash commands handler.
More info about User commands is located here.
- All commands directories have been changed into one directory: commands
.
- Slash commands handler renamed into application_commands.js
.
- Better Slash commands handler.
- Fixed prefix commands handler.
- Add pretty-ms
package into the project.
- Moderation directory has been removed.
- Interaction permissions handler has been removed.
Version 1.4.3
Updated the packages.
• Changed discord.js@14.1.1 to discord.js@14.2.0 in package.json because the project can run the new version.
• Added ms package.
New command category: Moderation.
• Added a new folder Moderation
for some moderation commands, and also added mute.js
for the mute command.
Added client presence.
• Just to make your bot cool. :)
Removed "Invalid command, try again?" feature.
• Removed this feature in the event messageCreate
because it is very useless.