aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | Update join_role_stats and NonExistentError to be clearGravatar D0rs4n2021-08-01-7/+9
| | | | |
| | | * | Update join_role_stats, add new custom errorGravatar D0rs4n2021-07-30-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | - Add new custom error to handle non-existent roles in the Information cog - Update join_role_stats to use built in generics for typing
| | | * | Modify error handling in join_role_stats and move it to the Information CogGravatar D0rs4n2021-07-29-17/+16
| | | | |
| | | * | Handle non-existent roles in `join_role_stats`Gravatar D0rs4n2021-07-28-2/+5
| | | | |
| | | * | Merge branch 'main' into pr/serverinfoleadsGravatar ChrisJL2021-07-23-436/+1260
| | | |\ \
| | | * | | Add `Leads` role(s) to the server information embedGravatar D0rs4n2021-07-08-3/+7
| | | | | |
| | | * | | Create `join_role_stats` function in helpersGravatar D0rs4n2021-07-08-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Add `join_role_stats` function that joins the relevant information (number of members) of the given roles into one group under a pre-specified `name`
| | | | | * Merge branch 'mbaruh/jam-management' of ↵Gravatar mbaruh2021-08-15-1/+1
| | | | | |\ | | | | | | | | | | | | | | | | | | | | | https://github.com/python-discord/bot into mbaruh/jam-management
| | | | | | * Add default value to csv_fileGravatar Boris Muratov2021-08-15-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * | Add `cj end` timeout message, improve styleGravatar mbaruh2021-08-15-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * | Add team name to audit log reasonGravatar mbaruh2021-08-15-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Interestingly enough, the reason doesn't seem to be displayed for channel permission overrides.
| | | | | * | Docstring correctionsGravatar mbaruh2021-08-15-4/+4
| | | | | |/ | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * Improved codejam end confirmationGravatar mbaruh2021-07-25-15/+59
| | | | | | | | | | | | | | | | | | | | | | | | The command now sends the details of all channels about to be deleted to the pasting service, and confirmation is done through a reaction by the invoker of the command within a limited time (10 seconds).
| | | | | * Fix end command docstringGravatar mbaruh2021-07-08-2/+2
| | | | | |
| | | | | * Added command to remove from teamGravatar mbaruh2021-07-08-0/+12
| | | | | |
| | | | | * More code jam functionalityGravatar Boris Muratov2021-07-08-1/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - An info embed with team the member is in. The team is decided by finding in which channel the member has overwrites. - Command to move a member from one team to another by changing the permissions of the appropriate team channels. - A command to end the code jam and delete all the team channels and categories.
| | | | | * Move jam channels creation to separate fileGravatar mbaruh2021-07-08-146/+150
| | | | | | | | | | | | | | | | | | | | | | | | The channel creations are static and clutter the cog class. We want to add more commands to the cog, so we move the static functions away to a separate file first.
| | | | | * Create events ext, prepare jams cog for file splitGravatar mbaruh2021-07-07-11/+19
| | | | |/ | | | |/|
* | | | | 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.
* | | | 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