Fixed adding guilds in sqlite

This commit is contained in:
Essem 2021-08-18 15:41:35 -05:00
parent 516570efe4
commit 2fe45d842b
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -144,7 +144,7 @@ exports.addGuild = async (guild) => {
disabled: "[]", disabled: "[]",
disabledCommands: "[]" 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; return guildObject;
}; };