FIX: Removed the branch

This commit is contained in:
Dan 2024-06-30 17:41:21 -04:00
parent fce87e7924
commit 7909594da8
2 changed files with 3 additions and 4 deletions

View File

@ -24,6 +24,5 @@ config = {
'update': {'enabled': True},
'data_privacy': {'enabled': True},
'term_privacy': {'enabled': True}
},
'UPDATE_BRANCH': 'dev-rework'
}
}

View File

@ -61,8 +61,8 @@ class Selena(discord.Client):
if config['modules']['update']['enabled']:
from modules.admin.update import setup as update_setup
branch_name = config.get('UPDATE_BRANCH', 'dev-rework')
update_setup(self, branch=branch_name)
update_setup = update_setup(self)
update_setup(self.tree)
if config['modules']['data_privacy']['enabled']:
from modules.admin.data_privacy import DataPrivacy