fix(shard): 🐛 Masked replies getting inverted.
This commit is contained in:
@@ -34,7 +34,7 @@ class Calls(base.Cog):
|
|||||||
|
|
||||||
if await self.bot.call_handler.is_on_call(ctx.channel.id):
|
if await self.bot.call_handler.is_on_call(ctx.channel.id):
|
||||||
return await ctx.send(
|
return await ctx.send(
|
||||||
f"☎️ You're already on a call! Use `{ctx.clean_prefix}help` to hang up."
|
f"☎️ You're already on a call! Use `{ctx.clean_prefix}hangup` to hang up."
|
||||||
)
|
)
|
||||||
|
|
||||||
if await self.bot.call_handler.is_searching(ctx.channel.id):
|
if await self.bot.call_handler.is_searching(ctx.channel.id):
|
||||||
@@ -283,13 +283,13 @@ class Calls(base.Cog):
|
|||||||
name=(
|
name=(
|
||||||
replied_participant.display_name
|
replied_participant.display_name
|
||||||
if replied_participant.channel_id
|
if replied_participant.channel_id
|
||||||
!= message.channel.id
|
== message.channel.id
|
||||||
else replied_participant.name
|
else replied_participant.name
|
||||||
),
|
),
|
||||||
icon_url=(
|
icon_url=(
|
||||||
replied_participant.display_avatar_url
|
replied_participant.display_avatar_url
|
||||||
if replied_participant.channel_id
|
if replied_participant.channel_id
|
||||||
!= message.channel.id
|
== message.channel.id
|
||||||
else replied_participant.avatar_url
|
else replied_participant.avatar_url
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "payphone"
|
name = "payphone"
|
||||||
version = "0.20.0"
|
version = "0.22.0"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
|
|||||||
Reference in New Issue
Block a user