diff --git a/cogs/admin.py b/cogs/admin.py index 3a744aa..07800e9 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -16,7 +16,7 @@ class AdminCog: return any(r.id in config.staff_role_ids for r in ctx.author.roles) def check_if_bot_manager(ctx): - return any(r.id in config.bot_manager_role_id for r in ctx.author.roles) + return any(r.id == config.bot_manager_role_id for r in ctx.author.roles) @commands.check(check_if_staff) @commands.command(aliases=['echo'], hidden=True) diff --git a/config.py.template b/config.py.template index 17e4cac..9391688 100644 --- a/config.py.template +++ b/config.py.template @@ -9,5 +9,9 @@ guild_whitelist = [ source_url = "https://github.com/aveao/robocop-ng" -bot_manager_role_id = 1 -staff_role_ids = [1, 2] +bot_manager_role_id = 526372554081042462 # Bot management role in NotSwitched +staff_role_ids = [526384077679624192, # Team role in NotSwitched + 526372582455508992, # Mod role in NotSwitched + 526372554081042462, # Bot management role in NotSwitched + 526383985430102016, # Wizard role in NotSwitched + ] # syntaxing is hard~