diff --git a/src/commands/randomcolor.ts b/src/commands/randomcolor.ts deleted file mode 100644 index d856cb4..0000000 --- a/src/commands/randomcolor.ts +++ /dev/null @@ -1,12 +0,0 @@ -import Discord from 'discord.js'; -import TClient from '../client.js'; -export default { - run(client: TClient, interaction: Discord.ChatInputCommandInteraction<'cached'>){ - const embed = new client.embed().setColor(Math.floor(Math.random()*16777215)); - embed.addFields({name: 'Hex code', value: '#'+embed.data.color.toString(16).toUpperCase()}); - interaction.reply({embeds: [embed]}); - }, - data: new Discord.SlashCommandBuilder() - .setName('randomcolor') - .setDescription('Generate a random hex code') -} \ No newline at end of file