A discord bot made for the Unofficial RIT Discord Server. Has moderation capabilities along with some other miscellaneous uses.
Currently hosted on Heroku
- Pull the code down via
git clone [email protected]:Chris-Bitler/RIT-HAL.git
- Replace the discord_token and rapidapi_token in .env.bk with API tokens from the respective services.
- Set the postgres host and credentials and database in the .env.bk
- Move .env.bk to .env
- Run npm install in the project directory
- Run tsc to build the typescript code
- Run the bot via
npm run hal
The environment file includes 6 different environment variables that need to be filled out for HAL to work correctly. They are as follows:
discord_token: The bot token you obtain from a created bot at https://discord.com/developers/
rapidapi_token: Register for an account at https://rapidapi.com and obtain a key for https://rapidapi.com/transloc/api/openapi-1-2
sentry_dsn: The url for logging to sentry
DATABASE_URL: Database connection in url format