This is a base that I made for discord bots using typescript and discord.js
I provide an example of all the features the bot supports. You can view them by executing the /example command.
- BOT_TOKEN: The token of the bot
- OWNER_ID: The discord id of the bot owner
- GUILD_ID: The id of the bot's main discord server (Not required if GLOBAL is set to FALSE)
- GLOBAL: Whether the slash commands are registered as global commands or guild commands (If set to FALSE the commands will be registered to the guild that is set in the GUILD_ID setting)
- Permission System based on role permissions (eg. Manage Messages, Administrator etc.)
- Cooldown System
- Modals, Select Menus, Buttons and Slash Commands