mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
bot.chatQueue not bot.queue
This commit is contained in:
parent
186753cbe2
commit
53912e0b7d
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
/* eslint-disable max-len */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'clearchatqueue',
|
name: 'clearchatqueue',
|
||||||
description: 'Clears the bot\'s chat queue',
|
description: 'Clears the bot\'s chat queue',
|
||||||
|
@ -6,7 +7,7 @@ module.exports = {
|
||||||
trusted: 0,
|
trusted: 0,
|
||||||
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||||
if (bot.queue[0]) {
|
if (bot.queue[0]) {
|
||||||
bot.queue = [];
|
bot.chatQueue = [];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue