Fixed temporary bans, and added an option to exclude discord from banning.
changed the color of "Time is UP!" in the roll results, as requested.
This commit is contained in:
@@ -44,7 +44,7 @@ class DiscordCommandHandler(BaseModule):
|
||||
def pre_start(self):
|
||||
self.command_service.register_command_channel("Discord", self.DISCORD_CHANNEL)
|
||||
self.setting_service.register(self.module_name, "include_discord_ban", True, BooleanSettingType(),
|
||||
"Should chatbot bans be extended to discord (Ban from the discord server!):")
|
||||
"Should chatbot bans be extended to discord (Ban from the discord server!)")
|
||||
|
||||
@event("discord_command", "should the bot take care of discord commands", False)
|
||||
def discord_command_handler(self, _, event_data):
|
||||
|
||||
Reference in New Issue
Block a user