seiyria / DiscordBotExample

a sample framework for a discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Bot Example

A sample bot framework for Discord using DI.

Developing

  • npm run start:dev to run in dev mode (with livereload)
  • npm run start to run in prod mode

Environment Variables

Put these values in a .env file or in the projects environment variables.

Required

  • DISCORD_TOKEN - the Discord token for the bot.

Optional

  • COMMAND_PREFIX - the command prefix for the bot. Defaults to !.
  • IGNORE_PRESENCE - do not set presence values.
  • TEST_SERVER - set this to a Discord Guild ID

About

a sample framework for a discord bot


Languages

Language:TypeScript 98.1%Language:Dockerfile 1.9%