aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | Return empty containers if clean is cancelledGravatar Chris Lovering2021-07-28-2/+2
| | | | | | |
| | * | | | | Make is_older_than_14d a static methodGravatar Chris Lovering2021-07-26-11/+12
| | | | | | |
| | * | | | | Update _get_messages_from_channels return typeGravatar Chris Lovering2021-07-26-2/+2
| | | | | | |
| | * | | | | Merge branch 'main' into cleanreworkGravatar ChrisJL2021-07-26-2344/+5485
| | |\ \ \ \ \
| | * | | | | | document snowflake check betterGravatar Senjan212021-04-16-4/+12
| | | | | | | |
| | * | | | | | Don't delete invocation in mod channelGravatar Senjan212021-04-16-7/+10
| | | | | | | |
| | * | | | | | Better response wording, added aliasGravatar Senjan212021-04-16-2/+2
| | | | | | | |
| | * | | | | | make predicate_range inclusiveGravatar Senjan212021-04-16-1/+1
| | | | | | | |
| | * | | | | | Naming changes for better self documentationGravatar Senjan212021-04-16-5/+5
| | | | | | | |
| | * | | | | | simplify use_cache varGravatar Senjan212021-04-16-6/+2
| | | | | | | |
| | * | | | | | Use correct kwarg for channel.historyGravatar Senjan212021-04-16-1/+1
| | | | | | | |
| | * | | | | | replace lambda with list in defaultdictGravatar Senjan212021-04-16-2/+2
| | | | | | | |
| | * | | | | | Merge branch 'main' into cleanreworkGravatar Senjan212021-04-15-2379/+4200
| | |\ \ \ \ \ \
| | * | | | | | | swap predicate save order for correct deletionGravatar Senjan212021-04-15-4/+4
| | | | | | | | |
| | * | | | | | | Change typing, remove `range` aliasGravatar Senjan212021-03-04-3/+3
| | | | | | | | |
| | * | | | | | | Merge remote-tracking branch 'origin/master' into cleanreworkGravatar Senjan212021-03-04-170/+249
| | |\ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/master' into cleanreworkGravatar Senjan212021-03-02-2961/+4031
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | set `self.cleaning` to False once done cleaningGravatar Senjan212021-02-24-0/+2
| | | | | | | | | | |
| | * | | | | | | | | Implement range clean commandGravatar Senjan212021-02-23-6/+57
| | | | | | | | | | |
| | * | | | | | | | | Introduce cache to cleaning as well as fix cancelGravatar Senjan212021-02-23-36/+89
| | | | | | | | | | |
| | * | | | | | | | | rename command `messages` to `until`Gravatar Senjan212020-11-22-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new name should be more selfexplanatory
| | * | | | | | | | | rework clean to fully use `delete_messages` instead of `purge`Gravatar Senjan212020-11-22-26/+60
| | | | | | | | | | |
| | | | | | | | | * | Unify infraction embed titleGravatar Izan2021-11-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Embed for `!infractions by` no longer has the author in codeblock.
| | | | | | | | | * | Add missing newline after region commentGravatar Izan2021-11-08-0/+1
| | | | | | | | | | |
| | | | | | | | | * | Improve ordering logic in API requestGravatar Izan2021-11-03-1/+6
| | | | | | | | | | |
| | | | | | | | | * | Address ReviewGravatar Izan2021-11-02-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add `format_infraction_count` and migrate - Improve logic for `actor` being `"m"`/`"me"` - Rename `search_by_user` to `search_by_actor` - Better Ordering Logic (thanks @ChrisLovering) - Make embed title consistent with other search embeds
| | | | | | | | | * | Add support for `!infractions by <m|me|uid>`Gravatar Izan2021-11-01-0/+38
| |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1897 from python-discord/modlog/correct-color-namesGravatar Karlis Suvi2021-10-20-4/+4
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Modlog: correct color namesGravatar Matteo Bertucci2021-10-19-4/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | Solves https://github.com/python-discord/bot/issues/1896
* | | | | | | | | | Merge pull request #1894 from python-discord/modlog-soft-colorsGravatar ChrisJL2021-10-19-4/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Mod-log thread: use soft colors
| * | | | | | | | | | Mod-log thread: use soft colorsGravatar Matteo Bertucci2021-10-19-4/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | Seems like we have been using the wrong colors in mod-log.
* | | | | | | | | | Merge pull request #1845 from python-discord/fix-sentry-BOT-1N6Gravatar Matteo Bertucci2021-10-19-6/+13
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Handle edge case of `message.author` being a `discord.User` when claiming a help channel.
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-sentry-BOT-1N6Gravatar TizzySaurus2021-10-19-981/+1567
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #1890 from python-discord/Migrate-to-socket_event_typeGravatar Matteo Bertucci2021-10-18-4/+3
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Migrate to on_socket_event_type event
| * | | | | | | | | | | Migrate to on_socket_event_type eventGravatar Chris Lovering2021-10-18-4/+3
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discord.py 2.0 (Namely this commit https://github.com/Rapptz/discord.py/commit/e2250d402e8ad035b2653eb411c8e744cc9eb3bf) removed the socket_response event, and replaced it with the socket_event_type event, which just sends the type of event triggered on the websocket. Since this event was removed, no socket stats were being incremented, as the event never triggered. I have looked through the rest of the bot, and we do not use the socket_response event type anywhere else.
* | | | | | | | | / / Fix guild icon URL getting way in server command (#1888)Gravatar Karlis Suvi2021-10-17-1/+1
| |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1887 from python-discord/fix-guild-attr-errorGravatar Karlis Suvi2021-10-17-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Fix attr error since asset attrs have changed in 2.0
| * | | | | | | | | | Fix attr error since asset attrs have changed in 2.0Gravatar Chris Lovering2021-10-17-1/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1886 Fixes BOT-1NZ This was updated with Discord.py 2.0.
* | | | | | | | | | Merge pull request #1885 from python-discord/fix-files-being-sent-in-webhooksGravatar Boris Muratov2021-10-17-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Use MISSING sentinal rather than None for no files
| * | | | | | | | | | Use MISSING sentinal rather than None for no filesGravatar Chris Lovering2021-10-17-1/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1884 Fixes BOT-1NY Discord.py 2.0 changed how this works, webhooks now look for the MISSING sentinal, rather than None to determine whether files are being passed. This was updated in this commit: https://github.com/Rapptz/discord.py/commit/a6f7213c89e9d592c69ea3c631b0cb2bdab19577
* | | | | | | | | | Merge pull request #1844 from python-discord/new-appeals-processGravatar Matteo Bertucci2021-10-17-20/+20
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Direct users to the appeals server when banned
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into new-appeals-processGravatar ChrisJL2021-10-17-954/+1541
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #1882 from python-discord/fix-attr-errorGravatar Karlis Suvi2021-10-17-1/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Fix attr error in ModLog commandGravatar Chris Lovering2021-10-17-1/+1
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #1881 Fixes BOT-1NX
* | | | | | | | | | | Merge pull request #1795 from Numerlor/doc-repetitive-outdated-warnGravatar wookie1842021-10-17-19/+47
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Prevent repetitive stale inventory warnings from erroneously generated inventories
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into doc-repetitive-outdated-warnGravatar wookie1842021-10-17-1074/+1816
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | Fixed delayed logs and made some other minor refactors (#1863)Gravatar wookie1842021-10-17-28/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Run debug log before help command invocation to avoid delayed logs * Refactored other areas of code slightly, ensuring logging is done as soon as possible. Removed outdated comment * Ensured debug logs were sent for disabled commands Co-authored-by: Xithrius <[email protected]>
* | | | | | | | | | | | Regex: add a word boundary before .gg (#1817)Gravatar Matteo Bertucci2021-10-17-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Regex: add a word boundary before .gg and use named groups Before this commit, `an-arbitrary-domain.gg/notaninvite` would trigger the filter. This solve the issue by adding a word boundary before this branch of the pattern. * Regex: replace the word boundary by a word char Co-authored-by: ChrisJL <[email protected]> Co-authored-by: ChrisJL <[email protected]> Co-authored-by: Xithrius <[email protected]>
* | | | | | | | | | | | Merge pull request #1876 from python-discord/fix-help-description-spacingGravatar wookie1842021-10-17-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | | Formats Help Command Output
| * | | | | | | | | | | Merge branch 'main' into fix-help-description-spacingGravatar wookie1842021-10-17-14/+24
| |\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |