feat(bot): ✨ Trim blocked words to 10 characters.
This commit is contained in:
@@ -819,7 +819,7 @@ class Calls(base.Cog):
|
||||
if blocked_word:
|
||||
try:
|
||||
await self.bot.get_partial_messageable(channel_id).send(
|
||||
f"Your message wasn't delivered!\nBlocked word: `{blocked_word}`."
|
||||
f"Your message wasn't delivered!\nBlocked word: `{formatting.trim(blocked_word, 10)}`."
|
||||
)
|
||||
|
||||
except errors.DiscordException:
|
||||
|
||||
Reference in New Issue
Block a user