From abf19a8b98d7adbf38d1f578fd5ccdb0317ee586 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@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