From 7a65e95fe03b59225e9cf51d0b15b4fb268e4273 Mon Sep 17 00:00:00 2001 From: ethanf Date: Sat, 3 Feb 2024 03:15:02 -0600 Subject: [PATCH] chore: just remove /fatkid bc /fk is easier --- index.js | 4 +--- register.js | 8 -------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/index.js b/index.js index 30f95d7..f8499d8 100644 --- a/index.js +++ b/index.js @@ -269,7 +269,7 @@ client.on("error", (error) => { }); client.on("interactionCreate", async (interaction) => { - let command = interaction.commandName; + const command = interaction.commandName; if (!interaction.isChatInputCommand()) return; if ( @@ -831,8 +831,6 @@ client.on("interactionCreate", async (interaction) => { .catch(console.error); } - if (command === "fatkid") command = "fk"; - const fileCommand = client.fileCommands.get(command); if (!fileCommand) return; diff --git a/register.js b/register.js index 80a2044..fe69366 100644 --- a/register.js +++ b/register.js @@ -21,14 +21,6 @@ const commands = [ name: "resetteams", description: "Pulls team channel members into picking channel", }, - { - name: "fatkid", - description: "Moves added players to picking and randomly selects fatkids", - }, - { - name: "fk", - description: "Moves added players to picking and randomly selects fatkids", - }, /*{ name: "testfk", description: "debug fk",