Fix editrole color (#6270)

This commit is contained in:
Michael Oliveira 2024-03-17 20:17:12 -04:00 committed by GitHub
parent 0c83fcd495
commit f5011a90e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -273,7 +273,7 @@ class Admin(commands.Cog):
"""
author = ctx.author
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):