Go to file
marko-polo-cheno b26716f550 Merge branch 'master' of https://git.uwaterloo.ca/csc/discord-bot 2021-05-30 15:41:18 -04:00
.vscode undo settings 2021-05-20 21:02:44 -04:00
commands undo settings 2021-05-20 21:07:29 -04:00
components add database function with openDB 2021-05-25 00:53:37 +00:00
.eslintrc added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
.gitattributes add database function with openDB 2021-05-25 00:53:37 +00:00
.gitignore add database function with openDB 2021-05-25 00:53:37 +00:00
.prettierrc added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
README.md added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
index.ts Merge branch 'master' of https://git.uwaterloo.ca/csc/discord-bot 2021-05-30 15:41:18 -04:00
logger.ts added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
package.json using cross-env to set env vars cross platform 2021-05-24 20:56:52 -04:00
tsconfig.json added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
yarn.lock using cross-env to set env vars cross platform 2021-05-24 20:56:52 -04:00

README.md

Codey Bot

Required environment variables

  • BOT_TOKEN: the token found in the bot user account.
  • NOTIF_CHANNEL_ID: the ID of the channel the bot will send system notifications to.

Running the bot locally

  1. Run yarn to install dependencies.
  2. Add the required environment variables in a .env file in the root directory.
  3. Run yarn dev to start the bot locally.