Skip to content

Commit

Permalink
Fix 3 typos in guild logs (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajax146 authored Oct 17, 2023
1 parent 196e46e commit 92f9d6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions techsupport_bot/botlogging/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ async def on_guild_role_create(self, role: discord.Role):
f"New role with name {role.name} added to guild with ID {role.guild.id}"
),
level=LogLevel.INFO,
context=LogContext(guild=role.before),
context=LogContext(guild=role.guild),
channel=log_channel,
embed=embed,
)
Expand All @@ -554,7 +554,7 @@ async def on_guild_role_delete(self, role: discord.Role):
f"Role with name {role.name} deleted from guild with ID {role.guild.id}"
),
level=LogLevel.INFO,
context=LogContext(guild=role.before),
context=LogContext(guild=role.guild),
channel=log_channel,
embed=embed,
)
Expand All @@ -579,7 +579,7 @@ async def on_guild_role_update(self, before: discord.Role, after: discord.Role):
f" {before.guild.id}"
),
level=LogLevel.INFO,
context=LogContext(guild=before.before),
context=LogContext(guild=before.guild),
channel=log_channel,
embed=embed,
)
Expand Down

0 comments on commit 92f9d6c

Please sign in to comment.