Commit Graph

6 Commits

Author SHA1 Message Date
cd57db2440 Add markov_all_index to the database
This speeds up markov all quite a bit.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2025-06-29 20:33:45 -07:00
c1ff96b566 Fix missing message id from channel
Sometimes, last_message_id points to a message in a channel that is "not
found". This is OK because we're just figuring out when the last message
was sent, and we use the current time instead.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-10-23 18:07:32 -07:00
fa3f40c910 Add *.db and *.db-journal to .gitignore for databases
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-10-22 19:57:00 -07:00
0c40b105bc Remove message history limit, add message count report
* When fetching the chat history, we don't use the default limit of 100
  and set it to unlimited.
* For every 1000 messages recorded in the history, we report that in the
  debug log.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-10-22 19:41:13 -07:00
ce357354a7 Add random auto replies, add better logging
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-10-22 18:47:09 -07:00
7f9714263d Initial commit
The bot is currently working under 3.10, need to check out 3.9 next.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-10-22 18:00:52 -07:00