From 8b439030c6123591924eaa7e61c48285f6549496 Mon Sep 17 00:00:00 2001 From: Scragly <29337040+scragly@users.noreply.github.com> Date: Tue, 4 Dec 2018 07:18:39 +1000 Subject: Use contextlib.suppress, remove unnecessary `u` prefix. --- bot/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/constants.py') 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 -- cgit v1.2.3