diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/constants.py | 62 | 
1 files changed, 55 insertions, 7 deletions
| diff --git a/bot/constants.py b/bot/constants.py index 8902d918..dbf35754 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -2,11 +2,10 @@ import logging  from os import environ  from typing import NamedTuple -from bot.bot import SeasonalBot -  __all__ = ( -    "AdventOfCode", "Channels", "Client", "Colours", "Emojis", "Hacktoberfest", "Roles", -    "Tokens", "ERROR_REPLIES", "bot" +    "AdventOfCode", "Channels", "Client", "Colours", "Emojis", "Hacktoberfest", "Roles", "Tokens", +    "WHITELISTED_CHANNELS", "STAFF_ROLES", "MODERATION_ROLES", +    "POSITIVE_REPLIES", "NEGATIVE_REPLIES", "ERROR_REPLIES",  )  log = logging.getLogger(__name__) @@ -118,6 +117,58 @@ class Tokens(NamedTuple):      youtube = environ.get("YOUTUBE_API_KEY") +# Default role combinations +MODERATION_ROLES = Roles.moderator, Roles.admin, Roles.owner +STAFF_ROLES = Roles.helpers, Roles.moderator, Roles.admin, Roles.owner + +# Whitelisted channels +WHITELISTED_CHANNELS = ( +    Channels.bot, Channels.seasonalbot_commands, +    Channels.off_topic_0, Channels.off_topic_1, Channels.off_topic_2, +    Channels.devtest, +) + +# Bot replies +NEGATIVE_REPLIES = [ +    "Noooooo!!", +    "Nope.", +    "I'm sorry Dave, I'm afraid I can't do that.", +    "I don't think so.", +    "Not gonna happen.", +    "Out of the question.", +    "Huh? No.", +    "Nah.", +    "Naw.", +    "Not likely.", +    "No way, José.", +    "Not in a million years.", +    "Fat chance.", +    "Certainly not.", +    "NEGATORY.", +    "Nuh-uh.", +    "Not in my house!", +] + +POSITIVE_REPLIES = [ +    "Yep.", +    "Absolutely!", +    "Can do!", +    "Affirmative!", +    "Yeah okay.", +    "Sure.", +    "Sure thing!", +    "You're the boss!", +    "Okay.", +    "No problem.", +    "I got you.", +    "Alright.", +    "You got it!", +    "ROGER THAT", +    "Of course!", +    "Aye aye, cap'n!", +    "I'll allow it.", +] +  ERROR_REPLIES = [      "Please don't do that.",      "You have to stop.", @@ -130,6 +181,3 @@ ERROR_REPLIES = [      "Noooooo!!",      "I can't believe you've done this",  ] - - -bot = SeasonalBot(command_prefix=Client.prefix) | 
