mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
changed over = to :, whoops
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user