feat(discord-bot): suppress mention reply on success

This commit is contained in:
Pihkaal
2025-12-05 17:29:04 +01:00
parent d82c6589c6
commit 66474dc813
3 changed files with 18 additions and 1 deletions

View File

@@ -58,5 +58,10 @@ export const gemmesCommand: Command = async (message, args) => {
)
.setColor(0x4289c1),
],
options: {
allowedMentions: {
repliedUser: false,
},
},
});
};

View File

@@ -47,5 +47,10 @@ export const iconeCommand: Command = async (message, args) => {
)
.setColor(65280),
],
options: {
allowedMentions: {
repliedUser: false,
},
},
});
};

View File

@@ -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,
},
},
});
};