mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 18:56:10 +10:00
cleaned up anagram.js, combined module exports.
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
exports.name = 'Get auto voice'
|
||||
exports.alias = ['getautovoice']
|
||||
exports.helptext = 'Set the auto-sorting channel'
|
||||
exports.helphide = false
|
||||
exports.permissions = ['READ_MESSAGES']
|
||||
exports.category = 'admin'
|
||||
exports.command = (client, msg) => {
|
||||
client.database.get_setting("autoVoice", msg.guild.id).then((r) => {
|
||||
msg.reply(`${r} - ${msg.guild.channels.get(r).name}`);
|
||||
});
|
||||
module.exports = {
|
||||
name = 'Get auto voice',
|
||||
alias =['getautovoice'],
|
||||
helptext = 'Set the auto-sorting channel',
|
||||
helphide = false,
|
||||
permissions =['READ_MESSAGES'],
|
||||
category = 'admin',
|
||||
command = (client, msg) => {
|
||||
client.database.get_setting("autoVoice", msg.guild.id).then((r) => {
|
||||
msg.reply(`${r} - ${msg.guild.channels.get(r).name}`);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user