mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
cleaned up anagram.js, combined module exports.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user