mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 02:05:36 +00:00
config: Actually populate role ids with real roles
This commit is contained in:
parent
74f4c11f28
commit
7186746075
|
@ -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)
|
||||
|
|
|
@ -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~
|
||||
|
|
Loading…
Reference in a new issue