Go to file
Alex cd92da309f create db module with opendb function 2021-05-23 20:13:50 -04:00
components create db module with opendb function 2021-05-23 20:13:50 -04:00
.eslintrc work in progress 2021-05-21 17:19:30 -04:00
.gitignore work in progress 2021-05-21 17:19:30 -04:00
.prettierrc work in progress 2021-05-21 17:19:30 -04:00
README.md work in progress 2021-05-21 17:19:30 -04:00
index.ts create db module with opendb function 2021-05-23 20:13:50 -04:00
logger.ts added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
package.json work in progress 2021-05-21 17:19:30 -04:00
tsconfig.json added logger and started logging commands and errors 2021-05-19 21:44:14 -04:00
yarn.lock create db module with opendb function 2021-05-23 20:13:50 -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.