The Adam Malkocich moderation/user help bot made for the PrimeHack Discord.
Here is an example/guide on how to make an auto-reponse topic.
- addTopic [topic]
Adds the topic.
- removeTopic [topic]
Removes the topic
- getTopic [topic]
Displays the moderator view for the topic
- listTopics
Lists all topics
-
setAnswer [topic] [answer]
Assigns an answer/description to the topic
-
setAliases [topic] [alias 1 alias2 alias3]
Sets the aliases/alternative commands.
-
addPattern [topic] [pattern]
Adds a Regex Pattern to the detector
-
removePattern [topic] [index]
Removes a Regex Pattern from the detector
-
addChannel [topic] [pattern]
Adds a Regex Pattern to the detector
-
removeChannel [topic] [index]
Removes a Regex Pattern from the detector
- warn [user] [reason]
Warns a user for the specified reason, and issues a punishment.
- warns [user]
Lists a user's past warnings
-
commands
Shows this list
-
ping
Pong!
-
gateReactRole [message-id] [@role|role-id] [emote-name|emote-id]
Adds a specified reaction to a specified message, when this reaction is clicked it will add the specified role. This is designed to grant entry to a server.
- token
Place your bot token here.
- bot-controller
Add the ID of the Role which you want to be able to use moderator commands. You can add this multiple times to add multiple roles
- gate-emote
The unicode emote to be used in the gateway
- gate-role-id
This role issued by the gateway button.
- botlog-channel-id
The channel for the bot to user for logging (currently only errors)
This file is where topics are stored. Refer to the commands to modify this.
- JavaSE/JRE 1.8
- Maven
- Eclipse (might not be required but it was built for eclipse)