fix(shard): 🐛 Discord rejecting messages of people with specific usernames.

This commit is contained in:
2025-03-19 19:15:09 -03:00
parent a69addd9ce
commit 16b3b44def
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -223,6 +223,12 @@ class Calls(base.Cog):
message.channel.id,
)
if participant.display_name.lower() in ["everyone", "here", "wumpus", "discord"]:
await message.reply(
f"❌ You can't use {participant.display_name} as your name in calls.\n-# Restriction imposed by Discord."
)
return
other_channel = (
call.channels[0]
if call.channels[0] != message.channel.id
Generated
+1 -1
View File
@@ -413,7 +413,7 @@ wheels = [
[[package]]
name = "payphone"
version = "0.59.0"
version = "0.60.0"
source = { virtual = "." }
dependencies = [
{ name = "aerich" },