mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
19 lines
363 B
JavaScript
19 lines
363 B
JavaScript
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 = []
|
|
}
|
|
}
|
|
}
|