chore: just remove /fatkid bc /fk is easier
This commit is contained in:
parent
f9c7adc7b4
commit
7a65e95fe0
4
index.js
4
index.js
@ -269,7 +269,7 @@ client.on("error", (error) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
client.on("interactionCreate", async (interaction) => {
|
client.on("interactionCreate", async (interaction) => {
|
||||||
let command = interaction.commandName;
|
const command = interaction.commandName;
|
||||||
if (!interaction.isChatInputCommand()) return;
|
if (!interaction.isChatInputCommand()) return;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
@ -831,8 +831,6 @@ client.on("interactionCreate", async (interaction) => {
|
|||||||
.catch(console.error);
|
.catch(console.error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (command === "fatkid") command = "fk";
|
|
||||||
|
|
||||||
const fileCommand = client.fileCommands.get(command);
|
const fileCommand = client.fileCommands.get(command);
|
||||||
if (!fileCommand) return;
|
if (!fileCommand) return;
|
||||||
|
|
||||||
|
|||||||
@ -21,14 +21,6 @@ const commands = [
|
|||||||
name: "resetteams",
|
name: "resetteams",
|
||||||
description: "Pulls team channel members into picking channel",
|
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",
|
name: "testfk",
|
||||||
description: "debug fk",
|
description: "debug fk",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user