Go to file
Charles Zhang ab5ab15a29 move notif channel id to env var 2021-05-02 16:51:49 -04:00
.eslintrc setting up discord bot framework using discord API 2021-05-02 16:51:41 -04:00
.gitignore setting up discord bot framework using discord API 2021-05-02 16:51:41 -04:00
.prettierrc setting up discord bot framework using discord API 2021-05-02 16:51:41 -04:00
README.md move notif channel id to env var 2021-05-02 16:51:49 -04:00
index.ts move notif channel id to env var 2021-05-02 16:51:49 -04:00
package.json setting up discord bot framework using discord API 2021-05-02 16:51:41 -04:00
yarn.lock setting up discord bot framework using discord API 2021-05-02 16:51:41 -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.