| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2021-08-24 | Ignore partners & members of the python community as well as staff from ↵ | -5/+7 | ||
| `!liststream` | ||||
| 2021-08-24 | Minor linting fixes | -4/+9 | ||
| 2021-08-24 | Allow partners & members of the python community to bypass cooldown and use ↵ | -2/+2 | ||
| `!raw` in any channel | ||||
| 2021-08-24 | Allow partners & members of the python community to use `!role` and `!roles` | -2/+2 | ||
| 2021-08-24 | Allow partners & members of the python community to use commands in any channel | -11/+11 | ||
| Allow partners & members of the python community to use `!remind`, `!help` `!user`, `!snowflake`, `!ping`, `!charinfo` in any channel | ||||
| 2021-08-24 | Add constants.STAFF_PARTNERS_COMMUNITY_ROLES | -0/+1 | ||
| 2021-08-24 | Update nomination messages to display user mention | -3/+3 | ||
| 2021-08-23 | Enable debug mode by default | -2/+2 | ||
| 2021-08-23 | Added some more test cases to ensure bot mentions aren't counted | -1/+17 | ||
| 2021-08-23 | Remove restriction on snowflake command | -4/+0 | ||
| 2021-08-23 | Fix current tests by using MockMember in mention lists | -3/+5 | ||
| 2021-08-23 | Escape markdown in user's name for `!user` command | -0/+2 | ||
| 2021-08-23 | Ignore bot mentions in antispam mentions rule | -1/+5 | ||
| 2021-08-23 | Update reminders command to use `UserMentionOrID` instead of ↵ | -4/+5 | ||
| `discord.Member` to fix greediness issues. (#1768) | ||||
| 2021-08-23 | Update time format in reminder message to DAY_TIME from RELATIVE (#1766) | -1/+1 | ||
| * Update time format in reminder message to DAY_TIME from RELATIVE Co-authored-by: Xithrius <[email protected]> | ||||
| 2021-08-22 | Update outdated comment | -1/+1 | ||
| 2021-08-22 | Revert `search_user` typehint back to `MemberOrUser` | -2/+2 | ||
| 2021-08-22 | Update `infraction_search_group` typehint to `UserMentionOrId` | -3/+3 | ||
| 2021-08-22 | Attempt to get user from DB when discord.Object passed to search_user | -2/+6 | ||
| 2021-08-22 | Remove redundant getattr protection | -2/+2 | ||
| 2021-08-22 | Remove redundant fetching of user code | -11/+4 | ||
| 2021-08-22 | Add missing call to `escape_markdown` | -2/+6 | ||
| 2021-08-22 | Re-add ability to search infractions of deleted account | -6/+9 | ||
| 2021-08-22 | Remove redundant function | -13/+0 | ||
| 2021-08-22 | Fix isinstance check | -1/+1 | ||
| 2021-08-22 | Fix import | -1/+1 | ||
| 2021-08-22 | Fix import order | -1/+1 | ||
| 2021-08-22 | Rename converter from FetchedMember to MemberOrUser | -57/+58 | ||
| 2021-08-22 | Remove unused imports | -4/+3 | ||
| 2021-08-22 | Update to new converters | -29/+21 | ||
| 2021-08-22 | Remove converters made redundant by dpy V1.6's UserConverter update | -72/+1 | ||
| 2021-08-22 | Fix edge-case of `user.joined_at` being `None` in userinfo command. | -1/+5 | ||
| 2021-08-22 | Improve cache iteration speed | -0/+10 | ||
| getitem based iteration included operations that aren't necessary when iterating over the cache continuously. Adding an iter method to the class seems to have improved iteration speed by several orders of magnitude. | ||||
| 2021-08-22 | Add ability to publish metabase questions | -0/+14 | ||
| 2021-08-22 | Trigger typing, to avoid wrapping whole func in a context manager | -30/+30 | ||
| 2021-08-22 | Add alias for metabase export | -1/+1 | ||
| 2021-08-22 | Change metabase config to base url, rather than api url | -9/+7 | ||
| 2021-08-22 | Move metabase error handling to a cog error handler | -26/+33 | ||
| 2021-08-22 | Error to info log level on missing reminder message. | -1/+1 | ||
| 2021-08-22 | Modify reminder response messages to be in the correct format | -2/+2 | ||
| 2021-08-21 | Additional comments and tests for slicing | -2/+5 | ||
| 2021-08-21 | Clean up code | -4/+2 | ||
| Removed unused import, corrected docstring, and removed unnedded type annotation. | ||||
| 2021-08-21 | Fix MessageCache slicing bugs, improve tests | -26/+41 | ||
| 2021-08-21 | Identify DeletionContext by members, not channels | -17/+14 | ||
| Since the anti-spam now works cross-channels, it makes no sense to identify it by the channel in which it was invoked. The DeletionContext class was changed to accept a frozenset of members, and the message_deletion_queue dict uses the frozensets as keys. DeletionContext still accepts a channel on creation, because while it might get added more channels, there's only one channel in which the mute message will be sent. Using members as the key can run into the issue of one member becoming irrelevant to the filter while others still are, resulting in another log message being sent, but it's an unlikely edge case since the users should be muted almost immediately, and we're currently not using any multi-member filters in the first place. | ||||
| 2021-08-21 | AntiSpam deletes from all spammed channels | -7/+16 | ||
| The anti-spam cog was amended to handle cross-channel spam. | ||||
| 2021-08-21 | AntiSpam modified to work with cache | -9/+406 | ||
| The anti-spam cog now uses a cache instead of reading channel history. The cache is for all channels in the guild, and does not remove deleted messages. That means that the anti-spam logic now works cross-channel and counts deleted messages. The size of the cache is determined via a new field in the config YAML file. The cache was implemented as a separate class, MessageCache, which uses circular buffer logic. This allows for constant time addition and removal form either side, and lookup. The cache does not support removal from the middle of the cache. The cache additionally stores a mapping from message ID's to the index of the message in the cache, to allow constant time lookup by message ID. The commit additionally adds accompanying tests, and renames `cache.py` to `caching.py` to better distinguish it from the new `message_cache.py` and convey that it's for general caching utilities. | ||||
| 2021-08-19 | Add comma separators to member counts in !server | -3/+3 | ||
| 2021-08-19 | Fix linebreak formatting on server command | -7/+7 | ||
| The features part of the embed isn't included in some channels, this leads to there not being a linebreak between voice regions and roles in the embed. By changing it to this, rather than dedent, we specify exact where we want the linebreaks to be. | ||||
| 2021-08-17 | Move max_interval to init | -8/+8 | ||
| The on_message event calculated the max interval value every time for no reason. The value is constant throughout the bot's up time. | ||||
| 2021-08-17 | Provide jump_url in reminders even when the bot replies | -1/+1 | ||
| When the message is in the same channel and the bot replies, from now on it will also provide a jump_url for the sake of consistency | ||||