Discord bot Templete.
npm installAfter installing, edit temp.env.
PREFIX=The text prefix used for text commands.TOKEN=Bot token here.DB_*=Corresponding DB to use.OWNER=Your Discord ID.CLIENT_ID=Discord ID of the bot account.TEST_GUILD_ID=Primary Server ID.*_LOG=The location for the corresponding log to be dumped.STREAM_CHAT=Chat channel ID for/sayto only be accepted from.
Once done rename it to .env then build with typescript and run the bot.
npm run startDo the above usage setup at least once, then install the dev dependencies.
npm install --dev- Events are stored in
./events - Slash commands, Context Menus (etc, etc) are all in
./interactions. - Context Menus are separated by
userormessagecontext folders.
Nodemon (v3.0.1) is included by the devDependency run it with:
npm run devThe debugger is already setup and can be used with Run and Debug or the default bind F5.