A bot to keep track of all messages in certain channels, manage them with upvotes and save them to a Database.
This Project has been moved to Codeberg
- Docker/Podman
- A MariaDB Database [optional]
- Copy this folder to the destination where you want the bot to reside
- Create a file
config.jsonand configure it - Open the folder in a console and start the containers
docker-compose up -dpodman-compose up -dThe config/epz-bot.json should include the following options:
{
"bot": {
"clientId": "<Discord Bot Client ID>",
"token": "<Discord Bot Auth Token>",
"dmReply": "<Reply to all DMs>"
},
"database": {
"host": "<Database Host>",
"name": "<Database Name>",
"user": "<Database User>",
"password": "<Database Password>"
},
"servers": {
"<ServerID>": {
"channelIds": [
"<First Channel ID>",
"<Second Channel ID>"
],
"upvote": "<Upvote emoji Identifier>",
"downvote": "<Downvote emoji Identifier>"
}
}
}Note: You can add as many channels or servers as you desire.
- For custom emojis you can add a Backslash
\in front of the emoji to get the Identifier. This Identifier should look something like:<:Name:########> - To use this emoji, you will have to remove the leading
<:and the appended>so the Identifier looks like this:Name:########
- For the standard Discord emojis you need the UTF-8 Encoding in the HTML URL format. You can Look up the Bytes on this Website.
- Then you will have to format the bytes to look like this (replace the # with the bytes in hexadecimal):
%##%##%##