mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -05:00
13 lines
337 B
JavaScript
13 lines
337 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, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
if (bot.queue[0]) {
|
|
bot.chatQueue = [];
|
|
}
|
|
},
|
|
};
|