1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Fixed this_shard sqlite select

This commit is contained in:
niansa 2023-05-02 19:55:59 +02:00
parent 259053f7e0
commit f9196ed18a

View file

@ -576,7 +576,7 @@ public:
if (event.msg.content.empty()) return;
// Ignore messges from channel on another shard
bool this_shard = false;
db << "SELECT model, instruct_mode, this_shard FROM threads "
db << "SELECT this_shard FROM threads "
"WHERE id = ?;"
<< std::to_string(event.msg.channel_id)
>> [&](int _this_shard) {