mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-01 14:45:43 -05:00
20 lines
363 B
JavaScript
20 lines
363 B
JavaScript
module.exports = {
|
|
name: 'clearchatqueue',
|
|
description: 'Clears the bot\'s chat queue',
|
|
alias: ['ccq'],
|
|
usage: '',
|
|
trusted: 0,
|
|
execute (bot) {
|
|
if (bot._chatQueue[0]) {
|
|
bot.chatQueue = []
|
|
bot._chatQueue = []
|
|
}
|
|
},
|
|
discordExecute (bot) {
|
|
if (bot._chatQueue[0]) {
|
|
bot.chatQueue = []
|
|
bot._chatQueue = []
|
|
}
|
|
}
|
|
}
|