diff --git a/commands/clearchatqueue.js b/commands/clearchatqueue.js index d2fb792..97d136d 100644 --- a/commands/clearchatqueue.js +++ b/commands/clearchatqueue.js @@ -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 = []; } }, };