From 1efc4e0686e558e5d27c970295dbadb0cc884c4c Mon Sep 17 00:00:00 2001 From: Yoruio Date: Mon, 11 Jul 2022 21:35:25 -0600 Subject: [PATCH] removes some unused imports and leftover dev stuff --- app/bot/helper/confighelper.py | 6 ------ run.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) 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 *