removes some unused imports and leftover dev stuff
This commit is contained in:
@@ -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
2
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 *
|
||||
|
||||
Reference in New Issue
Block a user