aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-13markov: improve exceptionsArjun Satarkar
2024-03-12markov: reduce code duplication, add command to nuke guild dataArjun Satarkar
This also fixes bugs related to inconsistent handling of per-member and whole-guild generation.
2024-03-11Fix bug in starboard (more pending)Arjun Satarkar
2024-03-11rename starboard to simple_starboard to avoid collisionArjun Satarkar
2024-03-11markov: escape markdown in exclusion listsArjun 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.
2024-03-09question_of_the_day: use get_member in paginate_questionsArjun 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-09markov: don't add space after forward slashArjun Satarkar
2024-03-07markov: handle threads properlyArjun Satarkar
2024-03-07Add ignored_string feature, refactor, improve tokenizationArjun Satarkar
2024-03-07markov: normalize message content betterArjun Satarkar
We now do NFKC normalization and replace U+2019 with the normal ASCII single quote.
2024-03-07markov: tokenize custom emoji as one tokenArjun Satarkar
2024-03-06markov: small logic improvement in unlikely caseArjun Satarkar
2024-03-06markov: switch from reply to sendArjun Satarkar
This is useful for certain purposes
2024-03-06markov: remove ignore_string, add blacklist_stringArjun Satarkar
2024-03-06markov: ignore non-guild messagesArjun Satarkar
2024-03-06markov: improve ignore_string list formattingArjun Satarkar
2024-03-06markov: add ignored_string commandsArjun Satarkar
2024-03-06markov: don't force to be lowercaseArjun Satarkar
2024-03-06markov: check enabled/opted-in status in generateArjun Satarkar
2024-03-06Add markov cogArjun Satarkar
2024-02-12question_of_the_day: fix ImportErrorArjun Satarkar
2024-02-12question_of_the_day: fix qotd approve all missing some suggestionsArjun Satarkar
2024-02-12question_of_the_day: improve error handling in qotd approve commandArjun Satarkar
2024-02-11Restoring previous functionalityArjun Satarkar
2024-02-11Fix a strange issue pending further investigationArjun Satarkar
2023-12-25question_of_the_day: fix unpin breaking if the message was deletedArjun Satarkar
2023-12-24question_of_the_day: make sure we will never spam errors in edge casesArjun Satarkar
2023-12-24question_of_the_day: fix qotd approve allArjun Satarkar
2023-12-24question_of_the_day: actually check if enabled before posting 😓Arjun Satarkar
2023-12-23question_of_the_day: add option to approve all suggestionsArjun Satarkar
2023-12-22question_of_the_day: fix pluralizationArjun Satarkar
2023-12-22question_of_the_day: remove redundant codeArjun Satarkar
2023-12-22question_of_the_day: fix missing space in QOTD postArjun Satarkar
2023-12-22question_of_the_day: switch to using an embedArjun Satarkar
2023-12-21question_of_the_day: improve formattingArjun Satarkar
2023-12-21Add more docstringsArjun Satarkar
2023-12-21question_of_the_day: add command qotd postArjun Satarkar
2023-12-21pindelegate: include pinner/unpinner in audit log reasonArjun Satarkar
2023-12-21question_of_the_day: automatically pin the new QOTD and unpin the oldArjun Satarkar
2023-12-21question_of_the_day: separate the qotd-posting logic outArjun Satarkar
2023-12-21question_of_the_day: fix bug preventing QOTD posting from occurringArjun Satarkar
Initially last_posted_qotds_at is None which caused problems.
2023-12-21pindelegate: add docstringsArjun Satarkar
2023-12-21question_of_the_day: add suggestion featureArjun Satarkar
2023-12-21Format with blackArjun Satarkar
2023-12-21Add question_of_the_dayArjun Satarkar
2023-12-13Add info.json and licenseArjun Satarkar
2023-10-14Add pindelegateArjun Satarkar