This commit is contained in:
deathbybandaid 2023-01-24 11:12:50 -05:00
parent 32526e7487
commit ce9ef93c5a
2 changed files with 4 additions and 3 deletions

View File

@ -48,7 +48,7 @@ class SpiceBotCore_OBJ():
self.logger.info("SpiceBot Commands Interface Setup Complete.")
# SpiceBots access to Sopel Command listing
self.users = Users(self.bot)
self.users = Users(self.config, self.bot)
self.logger.info("SpiceBot Users Interface Setup Complete.")
def setup(self, bot):

View File

@ -5,8 +5,9 @@ from sopel import plugin
class Users():
def __init__(self, bot):
self.bot = None
def __init__(self, config, bot):
self.bot = bot
self.config = config
self.bot_priv_dict = {
"OWNER": 10,