mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Fix editrole color (#6270)
This commit is contained in:
parent
0c83fcd495
commit
f5011a90e1
@ -273,7 +273,7 @@ class Admin(commands.Cog):
|
|||||||
"""
|
"""
|
||||||
author = ctx.author
|
author = ctx.author
|
||||||
reason = _("{author} ({author.id}) changed the colour of role '{role.name}'").format(
|
reason = _("{author} ({author.id}) changed the colour of role '{role.name}'").format(
|
||||||
author=author, role=role.name
|
author=author, role=role
|
||||||
)
|
)
|
||||||
|
|
||||||
if not self.pass_user_hierarchy_check(ctx, role):
|
if not self.pass_user_hierarchy_check(ctx, role):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user