aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | | | | | Remove redundant fetching of user codeGravatar Izan2021-08-22-11/+4
| | | | | | | |
| | * | | | | | Add missing call to `escape_markdown`Gravatar Izan2021-08-22-2/+6
| | | | | | | |
| | * | | | | | Re-add ability to search infractions of deleted accountGravatar Izan2021-08-22-6/+9
| | | | | | | |
| | * | | | | | Remove redundant functionGravatar Izan2021-08-22-13/+0
| | | | | | | |
| | * | | | | | Fix isinstance checkGravatar Izan2021-08-22-1/+1
| | | | | | | |
| | * | | | | | Fix importGravatar Izan2021-08-22-1/+1
| | | | | | | |
| | * | | | | | Fix import orderGravatar Izan2021-08-22-1/+1
| | | | | | | |
| | * | | | | | Rename converter from FetchedMember to MemberOrUserGravatar Izan2021-08-22-57/+58
| | | | | | | |
| | * | | | | | Remove unused importsGravatar TizzySaurus2021-08-22-4/+3
| | | | | | | |
| | * | | | | | Update to new convertersGravatar TizzySaurus2021-08-22-29/+21
| | | | | | | |
| | * | | | | | Remove converters made redundant by dpy V1.6's UserConverter updateGravatar TizzySaurus2021-08-22-72/+1
| | | | | | | |
| | | * | | | | Add ability to publish metabase questionsGravatar Chris Lovering2021-08-22-0/+14
| | | | | | | |
| | | * | | | | Trigger typing, to avoid wrapping whole func in a context managerGravatar Chris Lovering2021-08-22-30/+30
| | | | | | | |
| | | * | | | | Add alias for metabase exportGravatar Chris Lovering2021-08-22-1/+1
| | | | | | | |
| | | * | | | | Change metabase config to base url, rather than api urlGravatar Chris Lovering2021-08-22-9/+7
| | | | | | | |
| | | * | | | | Move metabase error handling to a cog error handlerGravatar Chris Lovering2021-08-22-26/+33
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge pull request #1761 from python-discord/log-info-reminder-repliesGravatar ChrisJL2021-08-22-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Lowering log level to info for missing reminder replies.
| * | | | | | | Error to info log level on missing reminder message.Gravatar Xithrius2021-08-22-1/+1
|/ / / / / / /
* | | | | | | Merge pull request #1749 from D0rs4n/pr/replindersGravatar Matteo Bertucci2021-08-22-16/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Update reminders to reply instead of using a jump url to the origin message
| * \ \ \ \ \ \ Merge branch 'main' into pr/replindersGravatar Matteo Bertucci2021-08-22-302/+500
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1725 from Ryu1845/escape_md_newsGravatar Xithrius2021-08-22-2/+8
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | added escape markdown in PythonNews
| * \ \ \ \ \ \ \ Merge branch 'main' into escape_md_newsGravatar Xithrius2021-08-22-324/+573
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1756 from ↵Gravatar Matteo Bertucci2021-08-19-10/+10
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/Formatting-issues-on-the-!server-command Formatting issues on the !server command
| * | | | | | | | Add comma separators to member counts in !serverGravatar Chris Lovering2021-08-19-3/+3
| | | | | | | | |
| * | | | | | | | Fix linebreak formatting on server commandGravatar Chris Lovering2021-08-19-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.
* | | | | | | | Merge #1752 - help channels: fix initialisation of available channels setGravatar Mark2021-08-16-14/+8
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'main' into bug/help/1715/avail-set-initGravatar Mark2021-08-16-54/+74
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1753 from D0rs4n/pr/deletewebhookGravatar ChrisJL2021-08-16-7/+16
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Delete Webhooks when one is accidentally posted.
| * \ \ \ \ \ \ \ \ Merge branch 'main' into pr/deletewebhookGravatar ChrisJL2021-08-16-47/+58
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1716 from ↵Gravatar ChrisJL2021-08-16-46/+57
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/bug/info/bot-13b/code-snippet-msg-404 Don't send code snippets if the original message was deleted
| * \ \ \ \ \ \ \ \ \ Merge branch 'main' into bug/info/bot-13b/code-snippet-msg-404Gravatar ChrisJL2021-08-16-282/+584
| |\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge pull request #1754 from python-discord/wookie184-patch-1Gravatar Boris Muratov2021-08-16-1/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove the admins mention from the modmail tag
| * | | | | | | | | | | Remove the admins mention from the modmail tagGravatar wookie1842021-08-16-1/+1
|/ / / / / / / / / / /
| * | | | | | | | | | CodeSnippets: don't send snippets if the original message was deletedGravatar MarkKoz2021-08-03-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-13B
| * | | | | | | | | | CodeSnippets: refactor snippet parsing into a separate functionGravatar MarkKoz2021-08-03-8/+12
| | | | | | | | | | |
| * | | | | | | | | | CodeSnippets: move __init__ to the top of the class definitionGravatar MarkKoz2021-08-03-11/+11
| | | | | | | | | | |
| * | | | | | | | | | CodeSnippets: refactor on_messageGravatar MarkKoz2021-08-03-35/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce nesting and code duplication.
| | * | | | | | | | | Improve output message consistency in webhook_removerGravatar D0rs4n2021-08-16-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * | | | | | | | | Patch the regEx pattern in webhook_remover to match edge casesGravatar D0rs4n2021-08-16-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The regEx pattern did not match the 'https://' part in case of canary urls Thus, from now on the regEx pattern matches the full canary urls as well.
| | * | | | | | | | | Fix up, and improve code consistency in webhook_removerGravatar D0rs4n2021-08-16-2/+2
| | | | | | | | | | |
| | * | | | | | | | | Improve code consistency in webhook_removerGravatar D0rs4n2021-08-16-9/+7
| | | | | | | | | | |
| | * | | | | | | | | Enhance security in the Webhook remover.Gravatar D0rs4n2021-08-16-6/+14
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From now on, webhooks that were posted in the chat will be also deleted from Discord in order to eliminate the risk.
| | * | | | | | | | HelpChannels: use utility method to get available channelsGravatar MarkKoz2021-08-16-3/+1
| | | | | | | | | |
| | * | | | | | | | HelpChannels: simplify formatting of category names in dormant msgGravatar MarkKoz2021-08-15-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove redundant retrieval of category objects. Include the asking guide URL in the message via an f-string.
| | * | | | | | | | HelpChannels: fix incomplete init of available channel setGravatar MarkKoz2021-08-15-5/+4
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the cog is reloaded while there are less than the maximum amount of available channels, it makes some channels available until the limit is reached. When a channel is made available, it updates the `available_help_channels` set. The `update_available_help_channels()` function would not update this set if it saw that the set already contains elements. This resulted in only the channels that were just made available being in the set; the set would not contain the channels that were already available when the bot started. Fix this by unconditionally populating the set, but moving it to `init_available()` so it only happens once. Fix BOT-Z1 Fix #1715
* | | | | | | | | Merge pull request #1677 from python-discord/mbaruh/jam-managementGravatar Boris Muratov2021-08-16-214/+390
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Additional code jam management utilities
| * \ \ \ \ \ \ \ \ Merge branch 'main' into mbaruh/jam-managementGravatar Boris Muratov2021-08-16-571/+1612
| |\ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge pull request #1745 from python-discord/fix-nomination-archive-checkGravatar Matteo Bertucci2021-08-15-8/+10
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | fix: Nomination message now checks historic and new style nominations
| * | | | | | | | | | fix: Nomination message now checks historic and new style nominationsGravatar Chris Lovering2021-08-12-8/+10
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously nomination messages had role pings in them, now they don't as we moved them into a thread. Due to this, we need to detect both in the interim of historic nominations existing. A 'proper' fix for this is to store the nomination message IDs when we post them against the nomination object in the site api. We are planing to work on this soon, this commit is a short term fix.
| * | | | | | | | | Merge branch 'mbaruh/jam-management' of ↵Gravatar mbaruh2021-08-15-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into mbaruh/jam-management