Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2022-10-20 | remove int from search_value's type union | -6/+6 | ||
2022-10-20 | apply style guidelines to signature | -2/+7 | ||
2022-10-20 | update doc strings to reflect the usage of the new param | -2/+2 | ||
2022-10-20 | change the signature to include a "zen_rule_index" | -7/+9 | ||
2022-10-19 | Calculate 'now' once to ensure it is constant for scoring nominations | -4/+5 | ||
2022-10-18 | Resolve a serious grammatical problem in a comment | -1/+1 | ||
A controversial comment, to be sure. I have solved this with a compromise I know in my heart we can all agree on, wholeassedly. | ||||
2022-10-17 | Support the new SequenceProxy type in d.py | -1/+2 | ||
This type is usd for a few attributes, including Guild.threads and guild.Channels. This type does not implement any of the add dunder methods, so we use itertools.chain to get a single iterator for both sequences. Fixes BOT-398 Fixees #2292 | ||||
2022-10-14 | enhancement(filters): use a stricter bot token regex (#2006) | -5/+5 | ||
Use a stricter bot token regex Co-authored-by: wookie184 <[email protected]> Co-authored-by: Hassan Abouelela <[email protected]> | ||||
2022-10-13 | `REPO_TOKEN` is no more. (#2289) | -1/+0 | ||
2022-10-10 | Use explicit mock channels in tests to remove warning | -2/+11 | ||
This is need due to the new behaviour of discord.utils.get supporting both iterables and async iterables by checking for the presence of the __aiter__ attr on the iterable. GuildChannelConverter._resolve_channel uses this get util under the hood which grabs the voice channels on the guild, which were previously Mocked by the MagicMock, meaning the __aiter__ attr was present, causing the util to think it should be ran asynchronously. | ||||
2022-10-10 | noqa an abstract class with no abstract methods | -1/+1 | ||
This warning was added in the latest version of flake8-bugbear, but can be ignored in this instance. | ||||
2022-10-10 | Bump all deps to latest | -498/+426 | ||
2022-10-10 | Bump bot-core to 8.2.1 | -152/+1340 | ||
From the release notes on d.py [here](https://canary.discord.com/channels/336642139381301249/381965829857738772/1006359073610010664) and [here](https://canary.discord.com/channels/336642139381301249/381965829857738772/1008772795179737230) none of the breaking changes for the commit we were on to 2.0.1 affect us. | ||||
2022-10-09 | Make changes requested in review | -3/+5 | ||
2022-10-09 | Use scoring system that weights age and number of entries | -128/+1375 | ||
Added new tests for this behaviour, and added pytest-subtests dev dependency | ||||
2022-10-09 | Move tests out of moderation/ directory | -0/+0 | ||
I didn't mean to put them there in the first place | ||||
2022-10-05 | Add message when there are no patrons in a tier | -1/+2 | ||
2022-10-03 | await unawaited remove_cog calls | -3/+3 | ||
2022-10-02 | Make autoban report silently fail if output will be sent to a non-mod channel | -0/+4 | ||
2022-10-02 | Send weekly_autoban_report to ctx channel when manually invoked | -3/+7 | ||
2022-10-02 | Report on all autoban filters added in the last 7 days | -1/+55 | ||
This adds both a command to runt he report, and schedules a report to be automatically once a week. | ||||
2022-10-02 | Namespace discord import in filter_lists | -4/+4 | ||
2022-10-02 | Send filter alerts to #filter-log instead of #mod-meta | -2/+5 | ||
This is to reduce the amount of spam in #mod-meta. | ||||
2022-09-28 | use tldextract for a correct url decomposition | -5/+5 | ||
2022-09-28 | check for the url existence in the final_urls set | -1/+1 | ||
2022-09-28 | collect all urls in a set to avoid duplicates | -2/+3 | ||
2022-09-28 | transform urls matched in messages | -2/+9 | ||
We add the transformed urls to the set to account for the way discord renders relative urls in cases like Twitter's | ||||
2022-09-28 | add remove_subdomain_from_url in bot util helpers | -0/+12 | ||
2022-09-20 | Display mention & str of the mentionable object in `!remind list`. | -1/+1 | ||
Added so that the user still gets information on what the mention is, when the mention doesn't render (due to client cache etc.) | ||||
2022-09-20 | move DEFAULT_RULES_DESCRIPTION under information.py | -9/+7 | ||
2022-09-19 | use subTest to isolate assertions | -14/+17 | ||
2022-09-19 | add DEFAULT_RULES_DESCRIPTION to avoid duplication | -13/+10 | ||
2022-09-19 | fix redundant test name | -1/+1 | ||
2022-09-19 | test the cases where default rules message is supposed to be sent | -0/+31 | ||
2022-09-19 | fix wrong type hint of the rules function return value | -2/+2 | ||
2022-09-19 | add test that checks for the sent content if one invalid index is present in ↵ | -0/+46 | ||
the input | ||||
2022-09-19 | return final list of rule numbers to be sent | -2/+4 | ||
2022-09-19 | sort the list of final rule numbers | -1/+1 | ||
2022-09-19 | Rename test function and re-add change removed in merge. | -2/+2 | ||
2022-09-19 | Change f-string to normal string | -1/+1 | ||
Co-authored-by: ChrisJL <[email protected]> | ||||
2022-09-19 | Return None instead of False in try_get_tag | -1/+1 | ||
2022-09-18 | determine final_rule_numbers value by subscribing to the ↵ | -9/+2 | ||
keyword_to_rule_number using the matched keywords | ||||
2022-09-18 | subscribe directly to the keyword_to_rule_number dict instead of using .get | -1/+2 | ||
2022-09-18 | remove redundant use of list transformation when sorting final rule numbers | -1/+1 | ||
2022-09-18 | Moved `escape_markdown` after Truthy check (#2279) | -2/+3 | ||
2022-09-18 | replace the keywords set with a dict that maps each keyword to its rule number | -8/+6 | ||
2022-09-18 | enumerate full_rules with a start index of 1 | -2/+2 | ||
2022-09-18 | remove useless initial sorting of keywords | -2/+0 | ||
2022-09-18 | remove duplicate final rule numbers then sort | -1/+1 | ||
2022-09-18 | remove unreachable code | -8/+0 | ||