feat(discord-bot): suppress mention reply on success
This commit is contained in:
@@ -58,5 +58,10 @@ export const gemmesCommand: Command = async (message, args) => {
|
||||
)
|
||||
.setColor(0x4289c1),
|
||||
],
|
||||
options: {
|
||||
allowedMentions: {
|
||||
repliedUser: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -47,5 +47,10 @@ export const iconeCommand: Command = async (message, args) => {
|
||||
)
|
||||
.setColor(65280),
|
||||
],
|
||||
options: {
|
||||
allowedMentions: {
|
||||
repliedUser: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user