removes some unused imports and leftover dev stuff

This commit is contained in:
Yoruio
2022-07-11 21:35:25 -06:00
parent dfb2d90e10
commit 1efc4e0686
2 changed files with 1 additions and 7 deletions

View File

@@ -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():
"""

2
run.py
View File

@@ -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 *