From 7a1779b43cf2b491db9b6c8127ca4a880f366c3e Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 10 Apr 2021 23:37:55 +0300 Subject: [PATCH] Disable mentions by default --- backend/src/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/src/index.ts b/backend/src/index.ts index 5e1f82a3..a2bcfea4 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -156,6 +156,13 @@ connect().then(async () => { restMode: true, compress: false, guildCreateTimeout: 0, + // Disable mentions by default + allowedMentions: { + everyone: false, + users: false, + roles: false, + repliedUser: false, + }, intents: [ // Privileged "guildMembers",