aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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.
* Merge pull request #1712 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-08-03-1/+2
|\ | | | | Correctly delete from cache in ModPings
| * Merge branch 'main' into mbaruh-patch-1Gravatar ChrisJL2021-08-03-78/+131
| |\ | |/ |/|
* | Update Sentry SDK to 1.3Gravatar MarkKoz2021-08-03-78/+131
| |
| * Correctly delete from cacheGravatar Boris Muratov2021-08-03-1/+2
|/ | | | * Fixed wrong condition in rescheduler which made the eventual consistency not work. * Mods now correctly removed from cache on role reapplies.
* Add virtual environment (venv) tag (#1702)Gravatar Zack Didcott2021-08-02-0/+20
| | | | | | * Add virtual environment (venv) tag Co-authored-by: bast0006 <[email protected]> Co-authored-by: wookie184 <[email protected]> Co-authored-by: Xithrius <[email protected]>
* Merge pull request #1704 from python-discord/whitelist-pydis-partnersGravatar Matteo Bertucci2021-07-31-1/+2
|\ | | | | Add partners to the filtering whitelist
| * Add partners to the filtering whitelistGravatar Chris Lovering2021-07-31-1/+2
|/ | | | A partner being filtered is highly unlikely to be correct
* Prevent ghost-pings in pypi command (#1696)Gravatar TizzySaurus2021-07-25-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update `utils.messages.wait_for_deletion` Will now clear reactions after the timeout ends to indicate it's no longer possible to delete the message through reactions. * Update pypi command to not ghost-ping users Will no longer ghost-ping users when an invalid packaged is search containing a ping and reaction is pressed to delete message. * Update local file * Remove redundant code No longer try to clear reactions after calling `utils.messages.wait_for_deletion()` since the util now does it. * Remove trailing whitespace * Remove redundant import * Fix NameErrors * Remove redundant import * Reword comment * Update `contextlib.suppress` import to be consistent * Update docstring to reflect earlier changes * Update docstring to be more informative * Update to delete error message if invocation doesn't ping * Update to delete error message if invocation doesn't ping
* Merge pull request #1694 from TizzySaurus/Update-docs-get-to-prevent-ghost-pingsGravatar ChrisJL2021-07-23-4/+8
|\ | | | | Prevent ghost-pings in docs get command
| * Add commentGravatar TizzySaurus2021-07-23-0/+1
| | | | | | Co-authored-by: Bluenix <[email protected]>
| * Remove extra lineGravatar TizzySaurus2021-07-23-1/+0
| | | | | | Co-authored-by: Bluenix <[email protected]>
| * Fix typo causing NameErrorGravatar TizzySaurus2021-07-23-1/+1
| |
| * Delete reaction if error_message not deleted.Gravatar TizzySaurus2021-07-23-1/+4
| |
| * Remove extra linesGravatar TizzySaurus2021-07-23-1/+0
| |
| * Remove deprecated functionGravatar TizzySaurus2021-07-23-10/+0
| |
| * Update code to use `utils.messages.wait_for_deletion`Gravatar TizzySaurus2021-07-23-22/+3
| |
| * Remove blankline that flake8 doesn't likeGravatar TizzySaurus2021-07-23-1/+0
| |
| * Undo change in import styleGravatar TizzySaurus2021-07-23-28/+33
| |
| * Fix shadowed nameGravatar TizzySaurus2021-07-23-2/+2
| |
| * Remove blankline that flake8 didn't likeGravatar TizzySaurus2021-07-23-1/+0
| |
| * Add return type-hint and docstringGravatar TizzySaurus2021-07-23-1/+2
| |
| * Remove trailing whitespaceGravatar TizzySaurus2021-07-23-2/+2
| |
| * Add missing commaGravatar TizzySaurus2021-07-23-1/+1
| |
| * Add missing functools.partial importGravatar TizzySaurus2021-07-23-0/+1
| |
| * Revamped importsGravatar TizzySaurus2021-07-23-23/+30
| |
| * Remove duplicate asyncio importGravatar TizzySaurus2021-07-23-1/+0
| |
| * Prevent ghost-pings in docs get commandGravatar TizzySaurus2021-07-23-5/+25
|/ | | Won't delete the invoking message when the giving symbol is invalid if the message contains user/role mentions. If it has mentions, allows deletions of error message through reactions.
* Merge pull request #1693 from ↵Gravatar ChrisJL2021-07-23-14/+14
|\ | | | | | | | | python-discord/Update-docstring-tag-to-have-4-space-indents Update docstring tag pep and grammar
| * Suggest inspect.getdoc in docstring tagGravatar Chris Lovering2021-07-23-1/+3
| | | | | | | | Co-authored-by: Numerlor <[email protected]>
| * Update grammer in docstring tagGravatar Chris Lovering2021-07-23-2/+2
| | | | | | | | Co-authored-by: Bluenix <[email protected]>
| * Further describe the funciton in docstring tagGravatar Chris Lovering2021-07-23-4/+4
| |
| * Refer to PEP-257 as the official spec Gravatar ChrisJL2021-07-23-1/+1
| | | | | | | | | | This is for users who may not know what a PEP is. Co-authored-by: Bluenix <[email protected]>
| * Move type docs to type hintsGravatar Chris Lovering2021-07-23-3/+1
| |
| * Fix grammar issues in docstring tagGravatar Chris Lovering2021-07-23-6/+5
| |
| * update docstring command to use 4 space indents.Gravatar Chris Lovering2021-07-23-10/+11
|/
* Merge pull request #1686 from NotFlameDev/patch-1Gravatar ChrisJL2021-07-23-0/+18
|\ | | | | Added docstring tag
| * Merge branch 'main' into patch-1Gravatar NotFlameDev2021-07-23-15/+3
| |\ | |/ |/|
* | Merge pull request #1687 from python-discord/utils/reminder/remove-footerGravatar ChrisJL2021-07-22-15/+3
|\ \ | | | | | | Reminder: remove footer
| * \ Merge branch 'main' into utils/reminder/remove-footerGravatar Matteo Bertucci2021-07-22-2/+2
| |\ \ | |/ / |/| |
| * | Reminder: remove unused delivery_dt parameterGravatar Matteo Bertucci2021-07-22-10/+3
| | |
| * | Reminder: remove footerGravatar Matteo Bertucci2021-07-21-5/+0
| | | | | | | | | Now that we have Discord timestamps, the timestamp in the footer isn't useful anymore since it can be hovered to have a localised timestamp.
| | * Update docstring's explanationGravatar NotFlameDev2021-07-23-3/+1
| | |
| | * Update docstring explanation.Gravatar NotFlameDev2021-07-23-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| | * Hyperlink fixGravatar NotFlameDev2021-07-23-1/+1
| | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| | * Merge branch 'main' into patch-1Gravatar NotFlameDev2021-07-22-2/+2
| | |\ | |_|/ |/| |
* | | Merge pull request #1691 from python-discord/Akarys42-patch-1Gravatar ChrisJL2021-07-21-1/+1
|\ \ \ | | | | | | | | Talentpool: join_at -> joined_at
| * | | Talentpool: join_at -> joined_atGravatar Matteo Bertucci2021-07-21-1/+1
|/ / /