From 4c261a30d4813e91cc4a837044b96b4dfab8e4f2 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Fri, 12 Jul 2024 14:37:49 +0200 Subject: [PATCH] fix issue with survey script --- survey.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/survey.py b/survey.py index 8812b88..1031c61 100644 --- a/survey.py +++ b/survey.py @@ -21,9 +21,9 @@ def mid(s, offset, amount): return s[offset:offset+amount] token = os.environ['TOKEN'] -survey_channel = os.environ['SURVEY_CHANNEL'] -mention_id = os.environ['MENTION_ID'] -guild_id = os.environ['GUILD_ID'] +survey_channel = int(os.environ['SURVEY_CHANNEL']) +mention_id = int(os.environ['MENTION_ID']) +guild_id = int(os.environ['GUILD_ID']) runtime = 48 bot = discord.Bot(description=None)