fix(shard): 🐛 Discord rejecting messages of people with specific usernames.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user