Fixed adding guilds in sqlite
This commit is contained in:
parent
516570efe4
commit
2fe45d842b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue