Sanitize mentions on call

This commit is contained in:
2025-08-18 21:01:27 -03:00
parent 54217f1d69
commit 1149dd5bb4
4 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ impl OnMessageHandler<State> for CallMessageHandler {
.allowed_mentions(None)
.username(&profile.name)
.avatar_url(&profile.avatar_url)
.content(&content)
.content(&content.sanitize_mentions())
.embeds(&embeds)
.wait()
.await