My personal template for TypeScript based Discord bots built with Discord-Akairo and Discord.js.
src/index.ts
- Main that instantiates the Client and ensures ENV vars exist.src/core/client/Client.ts
- Main Akairo Client.src/core/listeners/**
- Classes that listen for events.src/core/commands/**
- Commands for the bot.src/core/inhibitors/**
- Inhibitors that stop a command from being executed under certain conditions.src/core/structures/**
- Custom/Extended Structures.
npm run build
- Build the botnpm run start
- Start the bot (requires build to have been run)npm run dev
- Build and run the botnpm run lint
- Lint the source code (No auto fix)npm run lint:fix
- Lint the source code (auto fix)
AkairoTemplate © zaida04, Released under the MIT License.
Authored and maintained by zaida04.
GitHub @zaida04
Created ~10/03/2020