no longer removing prefixes in 1.4

This commit is contained in:
Sophie Marie 2022-12-26 15:58:28 -06:00
parent d74cb0b1ad
commit c484d727f5
No known key found for this signature in database
GPG Key ID: 0C9FB786E7770775
1 changed files with 0 additions and 11 deletions

View File

@ -11,17 +11,6 @@ module.exports = {
if (!client.commands.has(command)) return; if (!client.commands.has(command)) return;
try { try {
message.channel.send({
embeds: [{
title: `<:AnitroxWarning:997565364718276669> Attention, ${message.author.username}!`,
description: `Anitrox will be moving entirely to slash commands in 1.4, You will no longer be able to use \`\` ${command} \`\` by typing ${config.prefix}${command}.\n Please use slash commands in the future. [Learn more](https://support.discord.com/hc/en-us/articles/1500000368501-Slash-Commands-FAQ)`,
color: 15548997,
footer: {
icon_url: message.author.displayAvatarURL(),
text: config.footerTxt
}
}]
});
await client.commands.get(command)?.parseMessage(client, config, message, args); await client.commands.get(command)?.parseMessage(client, config, message, args);
} catch (error) { } catch (error) {
console.error(error); console.error(error);