Closed Huskydog9988 closed 11 months ago
I was imaging this as continuously editing a single message for each channel, so the user doesn't get spammed.
The "update message id" wouldn't have to be persisted to the database. Indexing is ephemeral at the moment anyway (restarting the bot in the middle will mess things up).
Yea that sounds like a better idea, i was just slapping something together to keep it simple
Thanks. I've changed the update frequency to 1k messages, since I think it's important to give immediate feedback to users, and 2.5k was a bit slow.
An ideal response rate might be something like "at 100, 200, 300, 400, 500, 1000, 2500 messages, and every 2500 thereafter". But that's both annoying to code and potentially even more confusing to users, so a flat 1k seems okay for now.
This should work but I've yet to test it myself. Please do double check my work.