We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e676152 commit ce5f421Copy full SHA for ce5f421
1 file changed
commands/warn.js
@@ -6,11 +6,7 @@ module.exports.run = async (interaction) => {
6
messageFail(interaction, `You are not authorized to use \`/${module.exports.data.name}\``);
7
return;
8
}
9
- const embed = new MessageEmbed();
10
- embed.setColor(16755456);
11
- embed.setDescription('This command has been deprecated. Use `/memo` instead');
12
- const channel = await client.channels.cache.get(channelID);
13
- channel.send({ embeds: [embed] });
+ messageFail(interaction, 'This command has been deprecated. Use `/memo` instead');
14
};
15
16
module.exports.data = new CmdBuilder()
0 commit comments