diff --git a/commands/setautoparent.js b/commands/setautoparent.js index ce2d9f8..25036b9 100644 --- a/commands/setautoparent.js +++ b/commands/setautoparent.js @@ -7,6 +7,6 @@ module.exports = { args: ['VChannelID'], category: 'admin', command: (client, msg) => { - database.set_setting(msg.guild.id, "autoParent", msg.suffix); + client.database.set_setting(msg.guild.id, "autoParent", msg.suffix); } } \ No newline at end of file