Initial commit

This commit is contained in:
2019-03-16 14:48:09 +11:00
commit 5dd1619545
32 changed files with 1757 additions and 0 deletions

12
commands/clear.js Normal file
View File

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