| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-03-30 | Set unsilence permissions to inherit instead of true | -1/+1 | ||
| The "unsilence" action of the silence/hush command used `send_messages=True` when unsilencing a hushed channel. This had the side effect of also enabling send messages permissions for those with the Muted rule, as an explicit True permission apparently overwrites an explicit False permission, even if the latter was set for a higher top-role. The solution is to revert back to the `Inherit` permission by assigning `None`. This is what we normally use when Developers are allowed to send messages to a channel. | ||||
| 2020-03-29 | (PEP Command): Fixed comment about PEP 0 separately handling. | -2/+1 | ||
| 2020-03-29 | (PEP Command): Moved PEP 0 information to hard-coded strings from constants, ↵ | -18/+14 | ||
| moved PEP 0 sending to function. | ||||
| 2020-03-29 | (PEP Command): Moved icon URL to constant instead hard-coded string. | -2/+4 | ||
| 2020-03-28 | Increase syncer logging level | -1/+1 | ||
| 2020-03-28 | (Webhook Detection): Fixed grouping of regex, alert message content, ↵ | -9/+9 | ||
| docstrings, string formatting and URL hiding to show in logs. Co-Authored-By: Mark <[email protected]> | ||||
| 2020-03-28 | Use debug log level instead of warning in `post_user` | -1/+1 | ||
| 2020-03-28 | (PEP Command): Fixed comment of explanation of PEP 0 different processing. | -1/+2 | ||
| 2020-03-28 | (Webhook Detection): Renamed `url` variable to `redacted_url` to avoid ↵ | -2/+2 | ||
| confusion in `delete_and_respond` function. | ||||
| 2020-03-28 | (Webhook Detection): Fixed docstrings. | -2/+2 | ||
| 2020-03-28 | (Webhook Detection): Removed unnecessary URL hiding in `delete_and_respond`. | -5/+0 | ||
| 2020-03-28 | (Webhook Detection): Added grouping to RegEx compilation, removed ↵ | -13/+4 | ||
| unnecessary function `scan_message`, moved this content to `on_message` event. | ||||
| 2020-03-28 | Logging severity pass from review | -4/+4 | ||
| 2020-03-28 | (Webhook Detection): Call `on_message` instead repeating code. | -3/+1 | ||
| 2020-03-28 | (Webhook Detection): Fixed order of cog loading. | -1/+1 | ||
| 2020-03-28 | (Webhook Detection): Added `on_message_edit` listener for Discord Webhooks ↵ | -0/+7 | ||
| detecting. | ||||
| 2020-03-28 | (Webhook Detection): Alert message formatting changes, added `on_message` ↵ | -2/+9 | ||
| listener. | ||||
| 2020-03-28 | (Webhook Detection): Added URL returning to `scan_message` helper function. | -3/+4 | ||
| 2020-03-28 | (Webhook Detection): Created `delete_and_respond` helper function to handle ↵ | -2/+41 | ||
| Webhook URLs. | ||||
| 2020-03-28 | (Webhook Detection): Added `ModLog` fetching property. | -0/+6 | ||
| 2020-03-28 | (Webhook Detection): Added cog loading to __main__.py, created ↵ | -0/+10 | ||
| `scan_message` helper function to detect Webhook URL. | ||||
| 2020-03-28 | (Webhook Detection): Added webhook match regex. | -0/+4 | ||