Skip to content

Commit

Permalink
Update grouputils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StarkBots authored Jun 4, 2021
1 parent 9d3341d commit 964f85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/grouputils.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ async def ujwal_mute(client, message):
except BaseException as e:
await pablo.edit(f"`I Am UnAble To Mute That User` \n**Error :** `{e}`")
return
m = f"**#Muted** \n**User :** [{user.first_name}](tg://user?id={user.id}) \n**Chat :** `{message.chat.title}`"
m = f"**#Muted** \n**User :**{user.mention} \n**Chat :** `{message.chat.title}`"
await pablo.edit(m)
log = LogIt(message)
await log.log_msg(client, m)
Expand Down Expand Up @@ -495,7 +495,7 @@ async def ujwal_unmute(client, message):
except BaseException as e:
await pablo.edit(f"`I Am UnAble To UN-Mute That User` \n**Error :** `{e}`")
return
um = f"**#Un_Muted** \n**User :** [{user.first_name}](tg://user?id={user.id}) \n**Chat :** `{message.chat.title}`"
um = f"**#Un_Muted** \n**User :**{user.mention} \n**Chat :** `{message.chat.title}`"
await pablo.edit(um)
log = LogIt(message)
await log.log_msg(client, um)
Expand Down

0 comments on commit 964f85b

Please sign in to comment.