From 66474dc8137b9a193139111b81c5c53a87284707 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Fri, 5 Dec 2025 17:29:04 +0100 Subject: [PATCH] feat(discord-bot): suppress mention reply on success --- apps/discord-bot/src/commands/gemmes.ts | 5 +++++ apps/discord-bot/src/commands/icone.ts | 5 +++++ apps/discord-bot/src/commands/ping.ts | 9 ++++++++- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/apps/discord-bot/src/commands/gemmes.ts b/apps/discord-bot/src/commands/gemmes.ts index 33e7534..b1a3602 100644 --- a/apps/discord-bot/src/commands/gemmes.ts +++ b/apps/discord-bot/src/commands/gemmes.ts @@ -58,5 +58,10 @@ export const gemmesCommand: Command = async (message, args) => { ) .setColor(0x4289c1), ], + options: { + allowedMentions: { + repliedUser: false, + }, + }, }); }; diff --git a/apps/discord-bot/src/commands/icone.ts b/apps/discord-bot/src/commands/icone.ts index b376646..e33a126 100644 --- a/apps/discord-bot/src/commands/icone.ts +++ b/apps/discord-bot/src/commands/icone.ts @@ -47,5 +47,10 @@ export const iconeCommand: Command = async (message, args) => { ) .setColor(65280), ], + options: { + allowedMentions: { + repliedUser: false, + }, + }, }); }; diff --git a/apps/discord-bot/src/commands/ping.ts b/apps/discord-bot/src/commands/ping.ts index 5f2b555..74c97d5 100644 --- a/apps/discord-bot/src/commands/ping.ts +++ b/apps/discord-bot/src/commands/ping.ts @@ -1,5 +1,12 @@ import type { Command } from "~/commands"; export const pingCommand: Command = async (message, args) => { - await message.reply("pong"); + await message.reply({ + content: "🫵 Pong", + options: { + allowedMentions: { + repliedUser: false, + }, + }, + }); };