mirror of
https://github.com/litruv/DAdmin.git
synced 2026-07-24 10:46:14 +10:00
13 lines
407 B
JavaScript
13 lines
407 B
JavaScript
module.exports = {
|
|
name = 'Get auto parent',
|
|
alias =['getautoparent'],
|
|
helptext = 'gets the auto creation channel',
|
|
helphide = false,
|
|
permissions =['ADMINISTRATOR'],
|
|
category = 'admin',
|
|
command = (client, msg) => {
|
|
client.database.get_setting("autoParent", msg.guild.id).then((r) => {
|
|
msg.reply(`${r} - ${msg.guild.channels.get(r).name}`);
|
|
});
|
|
}
|
|
} |