- All types of interactions supported
- Proper logging system and save logs into file (logs.log)
- Fully typed
- Optional MongoDB support
You'll never have to touch the interactionCreate event, ever again. Interactions supported:
- Slash commands
- All types of select menus
- Modals
- Context menus
- Buttons
git clone https://github.com/mallusrgreatv2/TypescriptBotTemplate.gitnpm installoryarn install
(Delete yarn.lock if using npm, and delete package-lock.json if using yarn.)
- Copy the content of
.env.exampleover to a new file called .env - Change the values in .env
npm startif using npm andyarn Ystartif using yarn.
- For any interaction or event, name them
(name).(command|event|modal|menu|select|button).ts - For disabled commands, name them
(name).disabled.ts - After using tabcomplete to import Command class, add a
.jssuffix to the path. The path should look something like this:@/Structures/Command.js