diff --git a/app/bot/helper/confighelper.py b/app/bot/helper/confighelper.py index c8cc620..a89827d 100644 --- a/app/bot/helper/confighelper.py +++ b/app/bot/helper/confighelper.py @@ -133,12 +133,6 @@ if(path.exists(CONFIG_PATH)): except: print("Could not find previously synced version. Setting synced to false.") synced = False - - try: - GUILD_ID = config.get(BOT_SECTION, "guild") - except: - print("Could not get guild. Defaulting to global. Command syncing may take up to 24 hours to complete.") - GUILD_ID = None def get_config(): """ diff --git a/run.py b/run.py index 4e44119..ee8b18c 100644 --- a/run.py +++ b/run.py @@ -7,7 +7,7 @@ from discord.ui import Button, View, Select from discord import app_commands import asyncio import sys -from app.bot.helper.confighelper import GUILD_ID, MEMBARR_VERSION, switch, Discord_bot_token, plex_roles, jellyfin_roles +from app.bot.helper.confighelper import MEMBARR_VERSION, switch, Discord_bot_token, plex_roles, jellyfin_roles import app.bot.helper.confighelper as confighelper import app.bot.helper.jellyfinhelper as jelly from app.bot.helper.message import *