removes some unused imports and leftover dev stuff
This commit is contained in:
@@ -134,12 +134,6 @@ if(path.exists(CONFIG_PATH)):
|
|||||||
print("Could not find previously synced version. Setting synced to false.")
|
print("Could not find previously synced version. Setting synced to false.")
|
||||||
synced = 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():
|
def get_config():
|
||||||
"""
|
"""
|
||||||
Function to return current config
|
Function to return current config
|
||||||
|
|||||||
2
run.py
2
run.py
@@ -7,7 +7,7 @@ from discord.ui import Button, View, Select
|
|||||||
from discord import app_commands
|
from discord import app_commands
|
||||||
import asyncio
|
import asyncio
|
||||||
import sys
|
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.confighelper as confighelper
|
||||||
import app.bot.helper.jellyfinhelper as jelly
|
import app.bot.helper.jellyfinhelper as jelly
|
||||||
from app.bot.helper.message import *
|
from app.bot.helper.message import *
|
||||||
|
|||||||
Reference in New Issue
Block a user