From 3b508d472e57396cb94732d3c8a3b5ab835b3ae2 Mon Sep 17 00:00:00 2001 From: AnxietyisReal <96593068+AnxietyisReal@users.noreply.github.com> Date: Sat, 30 Sep 2023 07:28:11 +1000 Subject: [PATCH] Delete unused command --- src/commands/randomcolor.ts | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/commands/randomcolor.ts 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