A Discord bot to count word matches in messages and emotes and store them in Redis.
Done for English Nakirigumi Discord server since I was bored.
Server counterpart that serves changes, logged by this bot in real time
with WebSockets can be found here.
Install Redis.
Copy .env.example
into .env
and set your bot token (acquired here) and bot prefix.
First of all pull npm packages:
npm install
Starting up for development:
npm run start
Build TS for production.
npm run build
Resulting build will be in dist/
directory. You can run either with vanilla node or use something like PM2
for careful process and log management.
node dist/index.js
# or
pm2 start dist/index.js
MIT