Skip to content

Releases: TFAGaming/DiscordJS-V14-Bot-Template

Version 2.3.0

20 Jan 19:57
Compare
Choose a tag to compare

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:

  • Updated discord.js to v14.14.1 with small changes (c942edc)
  • 3 important changes in one commit: (5f4acd5)
    • Changed the property handler.mongodb.toggle to handler.mongodb.enabled in example.config.js.
    • Moved isSnowflake function to functions.js
    • Updated isSnowflake function from ES5 to ES6.

Version 2.2.0

21 Aug 09:39
Compare
Choose a tag to compare
  • 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

27 Jul 09:42
Compare
Choose a tag to compare
  • 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, and messageCreate.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

29 Jun 19:24
Compare
Choose a tag to compare

A new rebuild of the old code.

  • A lot of bug fixes.
  • More features.

Version v1.7.0 Last

29 Jun 19:05
efe5d6d
Compare
Choose a tag to compare

The last release of the v1.x.x versions.

  • Few bug fixes.
  • More updates.

Version 1.6.0

19 Nov 14:12
c041476
Compare
Choose a tag to compare

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

07 Sep 16:57
5aa4b47
Compare
Choose a tag to compare

- 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

06 Sep 15:54
e956534
Compare
Choose a tag to compare

- 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

05 Sep 10:58
9976130
Compare
Choose a tag to compare

- 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

14 Aug 08:31
12426d0
Compare
Choose a tag to compare

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.