cleaned up anagram.js, combined module exports.

This commit is contained in:
2019-03-18 06:23:27 +11:00
parent 7d11f13e30
commit 467dc136ff
22 changed files with 513 additions and 496 deletions

View File

@@ -1,10 +1,12 @@
exports.name = 'Set auto voice'
exports.alias = ['setautovoice']
exports.helptext = 'Sets the auto-sorting voice channel'
exports.helphide = false
exports.permissions = ['ADMINISTRATOR']
exports.args = ['VChannelID']
exports.category = 'admin'
exports.command = (client, msg) => {
client.database.set_setting(msg.guild.id, "autoVoice", msg.suffix);
module.exports = {
name = 'Set auto voice',
alias =['setautovoice'],
helptext = 'Sets the auto-sorting voice channel',
helphide = false,
permissions =['ADMINISTRATOR'],
args =['VChannelID'],
category = 'admin',
command = (client, msg) => {
client.database.set_setting(msg.guild.id, "autoVoice", msg.suffix);
}
}