feat: Implements auto-updating database table

- Automatically updates database table from old versions / Invitarr
 - Fancy text formatting to boost my ego
 - Removes synced variable from config, as we now sync always (guild-specific sync is automatic.)

task: gh-9
This commit is contained in:
Yoruio
2022-07-14 01:08:32 -06:00
parent 8375395bb8
commit 22c9bd1da9
6 changed files with 93 additions and 19 deletions

3
run.py
View File

@@ -11,14 +11,13 @@ from app.bot.helper.confighelper import MEMBARR_VERSION, switch, Discord_bot_tok
import app.bot.helper.confighelper as confighelper
import app.bot.helper.jellyfinhelper as jelly
from app.bot.helper.message import *
maxroles = 10
if switch == 0:
print("Missing Config.")
sys.exit()
print(f"V {MEMBARR_VERSION}")
class Bot(commands.Bot):
def __init__(self) -> None:
print("Initializing Discord bot")