mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-26 03:36:13 +10:00
Initial commit
This commit is contained in:
10
commands/setautovoice.js
Normal file
10
commands/setautovoice.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user