From 2fe45d842b8bc23de941f287410dcfe31c000b9c Mon Sep 17 00:00:00 2001 From: Essem Date: Wed, 18 Aug 2021 15:41:35 -0500 Subject: [PATCH] Fixed adding guilds in sqlite --- utils/database/sqlite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/database/sqlite.js b/utils/database/sqlite.js index d8404de..ed014a2 100644 --- a/utils/database/sqlite.js +++ b/utils/database/sqlite.js @@ -144,7 +144,7 @@ exports.addGuild = async (guild) => { disabled: "[]", disabledCommands: "[]" }; - connection.prepare("INSERT INTO guilds (guild_id, prefix, disabled, disabled_commands) VALUES (@id, @prefix, @disabled, @tagsDisabled)").run(guildObject); + connection.prepare("INSERT INTO guilds (guild_id, prefix, disabled, disabled_commands) VALUES (@id, @prefix, @disabled, @disabledCommands)").run(guildObject); return guildObject; };