You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alex Zhang 0cf271b620 add database function with openDB 2 years ago
.vscode added logger and started logging commands and errors 2 years ago
components add database function with openDB 2 years ago
.eslintrc added logger and started logging commands and errors 2 years ago
.gitattributes add database function with openDB 2 years ago
.gitignore add database function with openDB 2 years ago
.prettierrc added logger and started logging commands and errors 2 years ago
README.md added logger and started logging commands and errors 2 years ago
index.ts add database function with openDB 2 years ago
logger.ts added logger and started logging commands and errors 2 years ago
package.json add database function with openDB 2 years ago
tsconfig.json added logger and started logging commands and errors 2 years ago
yarn.lock add database function with openDB 2 years ago

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.