aboutsummaryrefslogtreecommitdiff
path: root/starboard/info.json
AgeCommit message (Collapse)Author
2024-03-20markov: avoid float division in uint_to_bytesArjun 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-11rename starboard to simple_starboard to avoid collisionArjun Satarkar
2024-03-11Add skeleton of starboard cog; improve menu handlingArjun 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.