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.
|
2 years ago | |
---|---|---|
.vscode | 2 years ago | |
components | 2 years ago | |
.eslintrc | 2 years ago | |
.gitattributes | 2 years ago | |
.gitignore | 2 years ago | |
.prettierrc | 2 years ago | |
README.md | 2 years ago | |
index.ts | 2 years ago | |
logger.ts | 2 years ago | |
package.json | 2 years ago | |
tsconfig.json | 2 years ago | |
yarn.lock | 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
- Run
yarn
to install dependencies. - Add the required environment variables in a
.env
file in the root directory. - Run
yarn dev
to start the bot locally.