2023-04-26 03:20:34 -04:00
|
|
|
# A bot that counts that counts how many the letters where used in messages. It also reacts to the messages that have the letters in it.
|
|
|
|
---
|
|
|
|
The configuration is based on a `.env` file. See the example.env file for the configuration options.
|
|
|
|
It is currently only based on the cloud version of mongodb.
|
|
|
|
|
2023-04-26 04:02:43 -04:00
|
|
|
This bot is based on [shrimpBot](https://github.com/numselli/shrimpBot). Converted the DB from postgres to mongodb.
|
|
|
|
|
|
|
|
Use the following command to initialize the database.
|
|
|
|
`node dbinit.js`
|
|
|
|
It will create the needed collection and document and return it in the console output.
|