Skip to content

Commit

Permalink
fix await missing
Browse files Browse the repository at this point in the history
  • Loading branch information
EncryptEx committed Jan 11, 2025
1 parent 6cb7a9e commit 6399865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ async def mute(ctx, member: discord.Member, *, reason=None):
await ctx.respond(embed=embed)
await member.add_roles(mutedRole, reason=reason)

SendMessageTo(
await SendMessageTo(
ctx,
member,
await GetTranslatedText(ctx.guild.id,
Expand Down Expand Up @@ -1425,7 +1425,7 @@ async def unmute(ctx, member: discord.Member, *, reason=None):
else:
reason = "for " + reason
await member.remove_roles(mutedRole)
SendMessageTo(
await SendMessageTo(
ctx,
member,
await GetTranslatedText(ctx.guild.id,
Expand Down

0 comments on commit 6399865

Please sign in to comment.