mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-17 09:54:49 +12:00
gotta get black
This commit is contained in:
parent
2987a8cb0d
commit
6b67f0feb5
|
@ -176,7 +176,7 @@ class RoleTracker(commands.Cog):
|
||||||
case = None
|
case = None
|
||||||
|
|
||||||
if case:
|
if case:
|
||||||
edits = {"reason": case.reason + f'\n**Role Removed**: {reason}'}
|
edits = {"reason": case.reason + f"\n**Role Removed**: {reason}"}
|
||||||
|
|
||||||
if ctx.message.author.id != case.moderator.id:
|
if ctx.message.author.id != case.moderator.id:
|
||||||
edits["amended_by"] = ctx.message.author
|
edits["amended_by"] = ctx.message.author
|
||||||
|
@ -250,7 +250,7 @@ class RoleTracker(commands.Cog):
|
||||||
case = None
|
case = None
|
||||||
|
|
||||||
if case:
|
if case:
|
||||||
edits = {"reason": case.reason + f'\n**Role Removed**: Role manually removed'}
|
edits = {"reason": case.reason + f"\n**Role Removed**: Role manually removed"}
|
||||||
|
|
||||||
if user.id != case.moderator.id:
|
if user.id != case.moderator.id:
|
||||||
edits["amended_by"] = user
|
edits["amended_by"] = user
|
||||||
|
|
Loading…
Reference in a new issue