diff --git a/backend/src/utils.ts b/backend/src/utils.ts index e3f3fdaf..74e5c4a2 100644 --- a/backend/src/utils.ts +++ b/backend/src/utils.ts @@ -1011,7 +1011,10 @@ export async function notifyUser( } } else if (method.type === "channel") { try { - await method.channel.createMessage(`<@!${user.id}> ${body}`); + await method.channel.createMessage({ + content: `<@!${user.id}> ${body}`, + allowedMentions: { users: [user.id] }, + }); return { method, success: true,