Skip to content

cglotr/anasbot

Repository files navigation

anasbot

Build Status codecov

anasbot is a bot that helps to keep track of available voice channels to play Among Us.

anasbot

Command Description
-start Initializes the bot.
-info Get the bot's info.
-voicechannels List all voice channels.
-addvoicechannel <channel-id> Add voice channel to tracked voice channels.
-removevoicechannel <channel-id> Remove voice channel from tracked voice channels.
-textchannels List all text channels.
-addtextchannel <channel-id> Add text channel to alerts.
-removetextchannel <channel-id> Remove text channel from alerts.
-alert Add text channel to alerts.
-unalert Remove text channel from alerts.
-quick, -q Show recommended game.

Development

  1. Create .env file using .env.sample & specify the token.
  2. npm install
  3. npm run watch-ts
  4. npm run serve-debug

Test

npm run test

Lint

npm run lint

Deployment

Heroku

  1. heroku login
  2. heroku create anasbot
  3. heroku scale worker=1
  4. git push heroku master
  5. heroku logs -t