aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Rohan_Iceman <[email protected]>2019-03-27 21:09:23 +0530
committerGravatar GitHub <[email protected]>2019-03-27 21:09:23 +0530
commit463e7f9d757ce8142f23f67f55f3c41d4336ba56 (patch)
treefc3e6484b77907bc0158c271af26261d013ae508 /bot/constants.py
parentMerge pull request #99 from python-discord/config-update (diff)
parentMerge pull request #132 from python-discord/dpy-cog-changes (diff)
Merge pull request #1 from python-discord/master
syncing fork
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py28
1 files changed, 26 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 63f923d4..b19d494b 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -6,7 +6,7 @@ from bot.bot import SeasonalBot
__all__ = (
"AdventOfCode", "Channels", "Client", "Colours", "Emojis", "Hacktoberfest", "Roles",
- "Tokens", "bot"
+ "Tokens", "ERROR_REPLIES", "bot"
)
log = logging.getLogger(__name__)
@@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
class AdventOfCode:
leaderboard_cache_age_threshold_seconds = 3600
leaderboard_id = 363275
- leaderboard_join_code = "363275-442b6939"
+ leaderboard_join_code = str(environ.get("AOC_JOIN_CODE", None))
leaderboard_max_displayed_members = 10
year = 2018
channel_id = int(environ.get("AOC_CHANNEL_ID", 517745814039166986))
@@ -61,6 +61,7 @@ class Client(NamedTuple):
class Colours:
soft_red = 0xcd6d6d
soft_green = 0x68c290
+ bright_green = 0x01d277
dark_green = 0x1f8b4c
orange = 0xe67e22
pink = 0xcf84e0
@@ -71,6 +72,13 @@ class Emojis:
christmas_tree = "\U0001F384"
check = "\u2611"
+ terning1 = "<:terning1:431249668983488527>"
+ terning2 = "<:terning2:462339216987127808>"
+ terning3 = "<:terning3:431249694467948544>"
+ terning4 = "<:terning4:431249704769290241>"
+ terning5 = "<:terning5:431249716328792064>"
+ terning6 = "<:terning6:431249726705369098>"
+
class Lovefest:
channel_id = int(environ.get("LOVEFEST_CHANNEL_ID", 542272993192050698))
@@ -101,6 +109,22 @@ class Roles(NamedTuple):
class Tokens(NamedTuple):
giphy = environ.get("GIPHY_TOKEN")
aoc_session_cookie = environ.get("AOC_SESSION_COOKIE")
+ omdb = environ.get("OMDB_API_KEY")
+ youtube = environ.get("YOUTUBE_API_KEY")
+
+
+ERROR_REPLIES = [
+ "Please don't do that.",
+ "You have to stop.",
+ "Do you mind?",
+ "In the future, don't do that.",
+ "That was a mistake.",
+ "You blew it.",
+ "You're bad at computers.",
+ "Are you trying to kill me?",
+ "Noooooo!!",
+ "I can't believe you've done this",
+]
bot = SeasonalBot(command_prefix=Client.prefix)