Skip to content

Releases: TFAGaming/DiscordJS-V14-Bot-Template

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 [email protected] to [email protected] 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.

Version 1.4.2

07 Aug 16:03
ccf43d1
Compare
Choose a tag to compare

Added slash commands collection (Missed to add the collection):

Just added this in index.js:

client.slashcmds = new Collection();

Removed "help" feature from prefix commands handler.

Since this feature makes a lot of bugs for users, I have to remove it and make a command called info.js.

Version 1.4.1

05 Aug 16:21
7da3b37
Compare
Choose a tag to compare
Note: Version v1.4.0 was just a small announcement, no need to use that tag. Just move on to the tag v1.4.1.

Slash commands handler updated:

• Client and guild member permissions handler added.

Better prefix commands handler:

• Updated the commands.
From this:

module.exports = {
  name: "",
  permissions: [],
  owner: Boolean,
  run: async () => { ...

To this:

module.exports = {
  config: {
    name: "",
    description: "",
    usage: "",
  },
  permissions: [],
  owner: Boolean,
  run: async () => { ...

• New command usage feature.

How it works?

When you type a command like ?ping, it should respond with {websocket ping} ms!. But if the command ends with help (I mean: ?ping help), it should respond with the usage of the command.

Version 1.3.0

03 Aug 12:20
9e93141
Compare
Choose a tag to compare

New Slash commands handler!

• Add new handler: slash.js
• Add new slash command: ping.js
• Add new variable in config.json: GUILD_ID

How GUILD_ID variable works?

If you've provided your server ID or other server ID in config.json, your bot will register all the slash commands ONLY in the provided server ID (Also register the slash commands into the Discord App). Else, if you haven't provided your server ID in config.json, the bot will register all slash commands in all the servers that the bot was invited in.

Version 1.2.0

29 Jul 15:01
7d89ccf
Compare
Choose a tag to compare

Update v1.2.0:

  • New system for the command handler: Custom prefix
  • Added new packages: quick.db, better-sqlite3
  • Updated package: [email protected][email protected]
  • New command: {prefix}prefix [new prefix]

v1.1.0

19 Jul 11:43
23b7a3e
Compare
Choose a tag to compare

Update v1.1.0:

  • Add Owners only handler in messageCreate event (./events/Guild/messageCreate.js).
  • New command: owner.js
    2022-07-19 12_40_11-general

v1.0.1

19 Jul 11:18
bc8d71a
Compare
Choose a tag to compare

Update V1.0.1:

  • Installed new package version: discord.js v14.0.2
  • Added MIT License.
  • Fixed commands permissions error.

v1.0.0

18 Jul 21:54
fdc0ebe
Compare
Choose a tag to compare

First release v1.0!

  • Created the project on Replit.
  • Tested it on Replit and Visual Studio Code.
  • Publishing it on GitHub.