changed over = to :, whoops

This commit is contained in:
2019-03-18 06:38:40 +11:00
parent 467dc136ff
commit f4601a7974
25 changed files with 194 additions and 190 deletions

View File

@@ -1,12 +1,12 @@
module.exports = {
name = "Clear Messages",
alias =['clear'],
helptext = "Clears messages from the channel",
helphide = false,
permissions =['VIEW_CHANNEL'],
args =['number'],
category = 'admin',
command = (client, msg) => {
name: "Clear Messages",
alias: ['clear'],
helptext: "Clears messages from the channel",
helphide: false,
permissions: ['VIEW_CHANNEL'],
args: ['number'],
category: 'admin',
command: (client, msg) => {
console.log("Clearing: " + msg.suffix);
msg.channel.bulkDelete(parseInt(msg.suffix) + 1);
}