Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-08 | question_of_the_day: fix pluralisationHEADmain | Arjun Satarkar | |
2024-07-17 | wplink: fix logging | Arjun Satarkar | |
2024-07-17 | wplink: support multiple links per message, improve efficiency | Arjun Satarkar | |
Added some sanity checks, a cache, and used HEAD rather than GET requests. Checked the respone status code. | |||
2024-07-17 | wplink: don't embed | Arjun Satarkar | |
2024-07-17 | Add wplink cog | Arjun Satarkar | |
2024-05-15 | Add more information to README | Arjun Satarkar | |
2024-03-27 | question_of_the_day: refactor, use guild_only | Arjun Satarkar | |
2024-03-27 | question_of_the_day: make suggest and add confirmation quieter | Arjun Satarkar | |
2024-03-26 | teleport: don't teleport within same channel, better text | Arjun Satarkar | |
2024-03-22 | teleport: add reason param | Arjun Satarkar | |
2024-03-22 | Add teleport cog | Arjun Satarkar | |
2024-03-20 | markov: fix bug where append_token could clobber previous token | Arjun Satarkar | |
Specifically if we had an open paren followed by some other punctuation, the open paren would disappear. Probably this didn't exist before the addition of parens as valid tokens. | |||
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-19 | markov: support brackets, separate out append_token logic | Arjun Satarkar | |
2024-03-14 | markov: support animated emoji | Arjun Satarkar | |
Also support the old ping syntax with an exclamation mark. I don't think clients use it but it still works and bots can send it, so better to allow it. | |||
2024-03-14 | markov: process semicolons | Arjun Satarkar | |
2024-03-13 | markov: improve exceptions | Arjun Satarkar | |
2024-03-12 | markov: reduce code duplication, add command to nuke guild data | Arjun Satarkar | |
This also fixes bugs related to inconsistent handling of per-member and whole-guild generation. | |||
2024-03-11 | Fix bug in starboard (more pending) | Arjun Satarkar | |
2024-03-11 | rename starboard to simple_starboard to avoid collision | Arjun Satarkar | |
2024-03-11 | markov: escape markdown in exclusion lists | 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. | |||
2024-03-09 | question_of_the_day: use get_member in paginate_questions | Arjun Satarkar | |
Repeatedly running `fetch_member` is making this operation take a very long time, scaling with the number of questions present in the list. In practice, roughly 8 seconds was observed for just 22 questions when calling `qotd list`. Switching to `get_member` makes this near-instantaneous. | |||
2024-03-09 | markov: don't add space after forward slash | Arjun Satarkar | |
2024-03-07 | markov: handle threads properly | Arjun Satarkar | |
2024-03-07 | Add ignored_string feature, refactor, improve tokenization | Arjun Satarkar | |
2024-03-07 | markov: normalize message content better | Arjun Satarkar | |
We now do NFKC normalization and replace U+2019 with the normal ASCII single quote. | |||
2024-03-07 | markov: tokenize custom emoji as one token | Arjun Satarkar | |
2024-03-06 | markov: small logic improvement in unlikely case | Arjun Satarkar | |
2024-03-06 | markov: switch from reply to send | Arjun Satarkar | |
This is useful for certain purposes | |||
2024-03-06 | markov: remove ignore_string, add blacklist_string | Arjun Satarkar | |
2024-03-06 | markov: ignore non-guild messages | Arjun Satarkar | |
2024-03-06 | markov: improve ignore_string list formatting | Arjun Satarkar | |
2024-03-06 | markov: add ignored_string commands | Arjun Satarkar | |
2024-03-06 | markov: don't force to be lowercase | Arjun Satarkar | |
2024-03-06 | markov: check enabled/opted-in status in generate | Arjun Satarkar | |
2024-03-06 | Add markov cog | Arjun Satarkar | |
2024-02-12 | question_of_the_day: fix ImportError | Arjun Satarkar | |
2024-02-12 | question_of_the_day: fix qotd approve all missing some suggestions | Arjun Satarkar | |
2024-02-12 | question_of_the_day: improve error handling in qotd approve command | Arjun Satarkar | |
2024-02-11 | Restoring previous functionality | Arjun Satarkar | |
2024-02-11 | Fix a strange issue pending further investigation | Arjun Satarkar | |
2023-12-25 | question_of_the_day: fix unpin breaking if the message was deleted | Arjun Satarkar | |
2023-12-24 | question_of_the_day: make sure we will never spam errors in edge cases | Arjun Satarkar | |
2023-12-24 | question_of_the_day: fix qotd approve all | Arjun Satarkar | |
2023-12-24 | question_of_the_day: actually check if enabled before posting 😓 | Arjun Satarkar | |
2023-12-23 | question_of_the_day: add option to approve all suggestions | Arjun Satarkar | |
2023-12-22 | question_of_the_day: fix pluralization | Arjun Satarkar | |
2023-12-22 | question_of_the_day: remove redundant code | Arjun Satarkar | |
2023-12-22 | question_of_the_day: fix missing space in QOTD post | Arjun Satarkar | |