Arham4 / silentbot

๐Ÿ”‡A Discord bot playing the silent game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SilentBot

What is it?

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.

Setup

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"

Commands

!!!help | Displays the list of commands.
!!!record | Shows the current record for silence in the current Discord channel.

About

๐Ÿ”‡A Discord bot playing the silent game.

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%