From e388309fbe9c6538c7848fc9b7e43d2a4b050867 Mon Sep 17 00:00:00 2001 From: ethanf Date: Tue, 16 Jan 2024 17:39:20 -0600 Subject: [PATCH] chore: oh no everyone uses clear --- index.js | 2 +- register.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index f0adb5c..3201edf 100644 --- a/index.js +++ b/index.js @@ -239,7 +239,7 @@ client.on("interactionCreate", async (interaction) => { ) ); } - if (command === "clear") { + if (command === "clear" || command === "bclear") { await interaction.reply("clearing messages..."); let channel = client.channels.cache.get(COMMAND_CHANNEL_ID); if (!channel) return console.error("Can't find command channel"); diff --git a/register.js b/register.js index e2cd2f8..f618296 100644 --- a/register.js +++ b/register.js @@ -30,6 +30,10 @@ const commands = [ name: "clear", description: "Clears bot messages in command channel", }, + { + name: "bclear", + description: "Clears bot messages in command channel", + }, { name: "scout", description: "Lists picking channel members with scout role",