From f1f03eda565b02d0f6784e7699769725cba181a9 Mon Sep 17 00:00:00 2001 From: 7trail <72806227+7trail@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:54:08 -0500 Subject: [PATCH] Added int casting to IDs --- main.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main.py b/main.py index 899222b..87256ec 100644 --- a/main.py +++ b/main.py @@ -16,16 +16,16 @@ tree = app_commands.CommandTree(client) queue = [] -guildID = os.environ['GUILD_ID'] -botID = os.environ['BOT_ID'] -magicForum = os.environ['MAGIC_ITEM_FORUM'] -raceForum = os.environ['RACE_FORUM'] -subclassForum = os.environ['SUBCLASS_FORUM'] -locationForum = os.environ['LOCATION_FORUM'] -monsterForum = os.environ['MONSTER_FORUM'] -npcForum = os.environ['NPC_FORUM'] -otherForum = os.environ['OTHER_FORUM'] -logChannel = os.environ['LOG_CHANNEL'] +guildID = int(os.environ['GUILD_ID']) +botID = int(os.environ['BOT_ID']) +magicForum = int(os.environ['MAGIC_ITEM_FORUM']) +raceForum = int(os.environ['RACE_FORUM']) +subclassForum = int(os.environ['SUBCLASS_FORUM']) +locationForum = int(os.environ['LOCATION_FORUM']) +monsterForum = int(os.environ['MONSTER_FORUM']) +npcForum = int(os.environ['NPC_FORUM']) +otherForum = int(os.environ['OTHER_FORUM']) +logChannel = int(os.environ['LOG_CHANNEL']) autogen = True if os.environ['AUTOGEN'] == 'true' else False @client.event