chore: oh no everyone uses clear
This commit is contained in:
parent
d1e8c9e3a4
commit
e388309fbe
2
index.js
2
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");
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user