aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #1871 from ↵Gravatar ChrisJL2021-10-17-14/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/modlog-ingore-channels-mods-can't-view Modlog ignore channels mods can't view
| * | | | | | | | | | | | | | Remove unneeded config entriesGravatar Chris Lovering2021-10-17-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since channels that mods can't read are now implicitly ignored, there is no need to explicitly ignore them.
| * | | | | | | | | | | | | | Use modlog ignore function for voice events tooGravatar Chris Lovering2021-10-17-1/+2
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Refactor: Update modlog ignore function nameGravatar Chris Lovering2021-10-17-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new name better describes what this function actually does
| * | | | | | | | | | | | | | Ignore channels mod team can't view in modlogGravatar Chris Lovering2021-10-17-8/+19
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main purpose of this is so that we don't need to keep adding to the modlog_blacklist for every new channel we want to ignore, since it now implicitly ignores channels mods don't have read perms to. This is done by making use of Discord.py 2.0's updated behaviour of Channel.permissions_for() where it can now accept a role and determines the permissions of users in that role for a given channel. This takes into account default permissions as well as channel overrides. Co-authored-by: Xithrius <[email protected]>
| * / / / / / / / / / / / / Formats Help Command OutputGravatar Chris Lovering2021-10-17-1/+5
|/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #1232 Modifies the docstring sent for per-command help to remove weird formatting issues mentioned in #1232. Removes newlines that are not used for paragraph breaks, after retrieving the docstring, and lets the embed handle it on the discord side. Allow overriding this behaviour via \u2003 to denote a non-escapable break. Co-authored-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | Modlog: remove tzinfo from member_join (#1877)Gravatar Matteo Bertucci2021-10-17-1/+1
| | | | | | | | | | | | |
* | | | | | | | | | | | | Migrate to Discord 2.0a0 Gravatar Matteo Bertucci2021-10-17-98/+288
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge remote-tracking branch 'origin/main' into discord-2.0Gravatar Matteo Bertucci2021-10-17-323/+420
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | Merge pull request #1875 from python-discord/ks123/bugfix/reapply-infractionGravatar ChrisJL2021-10-16-5/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not try to calculate expiry if infraction is permanent on reapply
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into ks123/bugfix/reapply-infractionGravatar ChrisJL2021-10-16-333/+429
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
| * | | | | | | | | | | | | | Do not try to calculate expiry if infraction is permanent on reapplyGravatar ks1292021-10-16-5/+9
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-15-242/+282
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | |/| | | | | | | | | | | | |
| | * | | | | | | | | | | | | Voice gate: set tzinfo to None in author.joined_atGravatar Matteo Bertucci2021-10-15-1/+1
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Defcon: remove tzinfo from member.created_atGravatar Matteo Bertucci2021-10-15-1/+1
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-13-38/+32
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-10-245/+541
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | Test incidents: correct avatar referenceGravatar Matteo Bertucci2021-10-05-1/+1
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Defcon: ignore create thread permsGravatar Matteo Bertucci2021-10-05-4/+0
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | avatar.url -> display_avatar.urlGravatar Matteo Bertucci2021-10-05-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avatar can apparently be none, which means traceback and a very sad akarys
| | * | | | | | | | | | | | | | | Modlog: change thread logging to past-tenseGravatar Matteo Bertucci2021-09-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | | | | | | | Bot: remove inaccurate docstringsGravatar Matteo Bertucci2021-09-19-1/+0
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Bot: update comment on joining threadsGravatar Matteo Bertucci2021-09-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | | | | | | | Modlog: reuse logic for the message blacklistGravatar Matteo Bertucci2021-09-19-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | | | | | | | Modlog: thread supportGravatar Matteo Bertucci2021-09-15-0/+58
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Defcon: add thread perms to (un)shutdownGravatar Matteo Bertucci2021-09-15-2/+16
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Silence tests: use thread permsGravatar Matteo Bertucci2021-09-15-10/+54
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Silence: remove thread related permissionsGravatar Matteo Bertucci2021-09-12-2/+16
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Modlog: respect blacklist with threadsGravatar Matteo Bertucci2021-09-12-19/+36
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Silence: forbid threads from being silencedGravatar Matteo Bertucci2021-09-06-1/+7
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Make the bot auto-join threadsGravatar Matteo Bertucci2021-09-06-1/+17
| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci2021-09-06-139/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commits fixes any problem related to the migration: - New avatar interface - TZ aware datetimes - Various inernal API changes
| | | | | * | | | | | | | | | | | Raise for status to prevent parsing of invalid pagesGravatar Numerlor2021-08-31-1/+1
| | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | Delete stale item counters when clearing doc cacheGravatar Numerlor2021-08-30-0/+13
| | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | Prevent erroneous symbols from always raising stale warningsGravatar Numerlor2021-08-30-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some doc symbols are improperly generated and never exist on the doc page the inventory file defines them in, causing the stale warning to get raised every time the page is parsed (at a maximum every week because of the redis expire). This can be prevented by keeping a counter in redis for the items which were stale, every time the item is warned for the counter is incremented and set to expire in 3 weeks. Then a warning is only raised when the counter is below 3, resulting in the unpreventable warning only being raised twice until it is fixed by the maintainers after it expires in 3 weeks after the last increment.
| | | | | * | | | | | | | | | | | create a helper function to get the redis key of a doc itemGravatar Numerlor2021-08-30-12/+5
| | | | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | Update infraction DM tests to reflect new outputGravatar Chris Lovering2021-09-24-10/+10
| | | | | | | | | | | | | | | | |