From 100e60fbd886433780decc254e050249bdb451e3 Mon Sep 17 00:00:00 2001 From: gc <30398469+gc@users.noreply.github.com> Date: Sat, 13 Jul 2024 20:15:17 +1000 Subject: [PATCH] Dont mention in server notifications --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0e8ab5b630..0dad9104d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -170,7 +170,9 @@ client.on('interactionCreate', async interaction => { client.on(Events.ServerNotification, (message: string) => { const channel = globalClient.channels.cache.get(Channel.Notifications); - if (channel) (channel as TextChannel).send(message); + if (channel) { + (channel as TextChannel).send({ content: message, allowedMentions: { parse: [], users: [], roles: [] } }); + } }); client.on(Events.EconomyLog, async (message: string) => {