/discordbot-template

A template I use for making discord bots

Primary LanguageTypeScript

Installing

Needs Nodejs 18+

Go here for docs

Directories

  • src -- Contains the source, I'm using typescript here
    • commands -- Application commands, refer to ApplicationCommand.template or ping.ts for how you should be creating these kinds of files
    • core -- Main bot code, use this folder for when you want to add databases or external stuff
    • events -- Event handlers, based off name of file; double check the docs to make sure you have the right arguments. Every function in there should start with BotClient
    • utils -- Utility functions