FridayNightFunkinBoyfriendBot/ChomensJS/commands/clearchatqueue.js

20 lines
363 B
JavaScript
Raw Normal View History

2024-02-13 12:11:00 -05:00
module.exports = {
name: 'clearchatqueue',
description: 'Clears the bot\'s chat queue',
alias: ['ccq'],
usage: '',
trusted: 0,
execute (bot) {
if (bot._chatQueue[0]) {
bot.chatQueue = []
bot._chatQueue = []
}
},
discordExecute (bot) {
if (bot._chatQueue[0]) {
bot.chatQueue = []
bot._chatQueue = []
}
}
}