mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 15:47:57 -05:00
18 lines
352 B
JavaScript
18 lines
352 B
JavaScript
/* eslint-disable max-len */
|
|
module.exports = {
|
|
name: 'clearchatqueue',
|
|
description: 'Clears the bot\'s chat queue',
|
|
alias: ['ccq'],
|
|
usage: '',
|
|
trusted: 0,
|
|
execute: function(bot) {
|
|
if (bot.queue[0]) {
|
|
bot.chatQueue = [];
|
|
}
|
|
},
|
|
discordExecute: function(bot) {
|
|
if (bot.queue[0]) {
|
|
bot.chatQueue = [];
|
|
}
|
|
},
|
|
};
|