Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-17 | Add wplink cog | Arjun Satarkar | |
2024-03-20 | markov: avoid float division in uint_to_bytes | Arjun Satarkar | |
It seems as though the float division could cause an issue where the actual value should be an integer but the float representation is slightly higher than that, causing the addition of an extra unnecessary byte. Although this works fine as long as the same function is used, it could cause problems if seemingly inconsequential details change. I switch to using divmod and checking for the presence of a remainder. This should ensure use of the exact minimum required number of bytes in the blob. | |||
2024-03-11 | rename starboard to simple_starboard to avoid collision | Arjun Satarkar | |
2024-03-11 | Add skeleton of starboard cog; improve menu handling | Arjun Satarkar | |
We were previously not escaping mentions right in `qotd list` and `qotd suggest`. I think everyone and here could have maybe got through? Not sure about the defaults there. Also improved the handling in Markov where previously we'd been 1. allowing mentions but 2. editing the message from a dummy one so they didn't ping, which I think was out of some idea of preserving the exact text of an exclusion but it seems inelegant. |