chore: oh no everyone uses clear

This commit is contained in:
ethanf 2024-01-16 17:39:20 -06:00
parent d1e8c9e3a4
commit e388309fbe
2 changed files with 5 additions and 1 deletions

View File

@ -239,7 +239,7 @@ client.on("interactionCreate", async (interaction) => {
) )
); );
} }
if (command === "clear") { if (command === "clear" || command === "bclear") {
await interaction.reply("clearing messages..."); await interaction.reply("clearing messages...");
let channel = client.channels.cache.get(COMMAND_CHANNEL_ID); let channel = client.channels.cache.get(COMMAND_CHANNEL_ID);
if (!channel) return console.error("Can't find command channel"); if (!channel) return console.error("Can't find command channel");

View File

@ -30,6 +30,10 @@ const commands = [
name: "clear", name: "clear",
description: "Clears bot messages in command channel", description: "Clears bot messages in command channel",
}, },
{
name: "bclear",
description: "Clears bot messages in command channel",
},
{ {
name: "scout", name: "scout",
description: "Lists picking channel members with scout role", description: "Lists picking channel members with scout role",