fix(bot): Show username in p.friendreq.

This commit is contained in:
Rafael Bradley
2024-10-17 05:48:26 -03:00
committed by GitHub
parent 2e3085eb7f
commit e3d6f5998e
+1 -1
View File
@@ -605,7 +605,7 @@ class Calls(base.Cog):
try: try:
await self.bot.get_partial_messageable(other_channel.id).send( await self.bot.get_partial_messageable(other_channel.id).send(
f"**{call_rs.mask_emoji + " " if call_rs.is_masked else None} {call_rs.display_name}** wants you to add them as a friend on Discord." f"**{call_rs.mask_emoji + " " if call_rs.is_masked else None} {call_rs.display_name}** (`{ctx.author.name}`) wants you to add them as a friend on Discord."
) )
except errors.DiscordException: except errors.DiscordException: