SilentBot is a bot that starts a timer when the last person who messaged in a server has messaged. The timer stops when somebody in the server talks. If there is a new record for the longest time the discord server has been silent, it will announce it.
You must have Maven and Kotlin installed and configured. A config.yaml file must be made in the source root. The format for the YAML file is as follows:
discord:
token: "TOKEN AS PER DISCORDAPP.COM"
gitRepoUrl: "https://github.com/Arham4/SilentBot"
blacklistedServers: []
To add servers to the blacklist, do it like this:
blacklistedServers:
- "GUILD ID"
After doing so, make a data
folder at the root. After all of that, use the following command to run the bot (if you choose to use command line/terminal):
mvn exec:java -Dexec.mainClass="com.gmail.arhamjsiddiqui.silentbot.SilentBot"
!!!help | Displays the list of commands.
!!!record | Shows the current record for silence in the current Discord channel.