mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-27 09:35:35 -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 = {
|
||||
name: 'clearchatqueue',
|
||||
description: 'Clears the bot\'s chat queue',
|
||||
|
@ -6,7 +7,7 @@ module.exports = {
|
|||
trusted: 0,
|
||||
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
||||
if (bot.queue[0]) {
|
||||
bot.queue = [];
|
||||
bot.chatQueue = [];
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue