aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Scragly <[email protected]>2018-12-04 07:18:39 +1000
committerGravatar Scragly <[email protected]>2018-12-04 07:18:39 +1000
commit8b439030c6123591924eaa7e61c48285f6549496 (patch)
treeec4999ef981cd16e2a37834ff752621f4d188f11 /bot/constants.py
parentHandle edit errors, tidy model and docs (diff)
Use contextlib.suppress, remove unnecessary `u` prefix.
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index eff4897b..71bdbf5f 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -67,7 +67,7 @@ class Colours:
class Emojis:
star = "\u2B50"
- christmas_tree = u"\U0001F384"
+ christmas_tree = "\U0001F384"
check = "\u2611"
@@ -77,7 +77,7 @@ class Hacktoberfest(NamedTuple):
class Roles(NamedTuple):
- admin = int(environ.get('SEASONALBOT_ADMIN', 267628507062992896))
+ admin = int(environ.get('SEASONALBOT_ADMIN_ROLE_ID', 267628507062992896))
announcements = 463658397560995840
champion = 430492892331769857
contributor = 295488872404484098