This bot reads messages and updates a per-user count of when someone says certain phrases
This bot is deployed on a aws free tier t.2 micro ec2-instance
$sudo yum update
$sudo yum install git
$git clone https://github.com/JayakumarPawan/DiscordPhraseCountingBot
$curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
$. ~/.nvm/nvm.sh
$nvm install --lts
$npm -i
Create a file called .env
Write DISCORD_TOKEN=<your bots token var> in the file
In index.js change admin to the username of the admin in your server
Also in index.js you can add phrases to track by changing const keywords = new Set();
$npm run start
If successfull, the console should display "Project is running!" with no errors
!!leaderboard
!!wipe
!!add phrase <phrase>