aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | | | | Use full paste linkGravatar Izan2021-09-23-1/+1
|/ / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | Merge pull request #1840 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-09-21-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `cog` as an alias to extensions command
| * | | | | | | | | | | | | | | | | Add `cog` as an alias to extensions commandGravatar Boris Muratov2021-09-21-1/+1
|/ / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | Use create_task util instead of asyncio.create_taskGravatar Numerlor2021-09-11-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The util attaches an error logging callback instead of relying on python's exception logging which only occurs when the task is destroyed
| * | | | | | | | | | | | | | | | Use scheduling create_task util instead of creating from loop directlyGravatar Numerlor2021-09-11-47/+79
| |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The util attaches an error logging callback instead of relying on python's exception logging which only occurs when the task is destroyed
| | * | | | | | | | | | | | | | Use `isinstance` instead of `hasattr` to determine if `Member`Gravatar Izan2021-10-05-2/+2
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Fix testsGravatar Izan2021-09-01-6/+9
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Fix role hierarchy checkGravatar Izan2021-09-01-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now uses `>=` instead of `>`, as is meant to happen.
| | * | | | | | | | | | | | | | Prevent infractions raising error due to role hierarchyGravatar Izan2021-09-01-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now explicitly states that the bot is unable to starify/kick/ban someone who's higher in the role hierarchy
| | | * | | | | | | | | | | | | Fix typoGravatar TizzySaurus2021-10-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | * | | | | | | | | | | | | Bluenix Review #4Gravatar Izan2021-10-08-2/+2
| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | Bluenix Review #3Gravatar Izan2021-09-26-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Another fix in `windows-path.md`
| | | * | | | | | | | | | | | | Bluenix Review #2Gravatar Izan2021-09-25-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made some more fixes in `async-await.md`
| | | * | | | | | | | | | | | | Merge remote-tracking branch 'origin/tags-revision' into tags-revisionGravatar Izan2021-09-25-7/+0
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into tags-revisionGravatar ToxicKidz2021-09-20-7/+0
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #1838 from python-discord/remove-coverallsGravatar Joe Banks2021-09-20-7/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Remove coveralls from lint-testGravatar Izan2021-09-20-7/+0
|/ / / / / / / / / / / / / / / / /
| | | * / / / / / / / / / / / / / Bluenix ReviewGravatar Izan2021-09-25-27/+13
| | | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made changes in `async-await.md`, including changing `run_until_complete()` to `asyncio.run()` - Minor changes in `traceback.md` - Rewriting `windows-path.md`
| | | * / / / / / / / / / / / / Fix typos and grammar in tagsGravatar Izan2021-09-20-18/+18
| |_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #1820 from python-discord/add-metricity-to-composeGravatar ChrisJL2021-09-17-2/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add metricity to docker-compose
| * | | | | | | | | | | | | | | Remove duplicate roles when defining allowed_mentionsGravatar Chris Lovering2021-09-17-1/+1
| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | Add metricity to docker-composeGravatar Chris Lovering2021-09-17-1/+22
|/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By adding metricity to the compose, we allow it to migrate itself, rather than needing the site to do it. Defaulting 'USE_METRICITY' to false means that it will run migrations, but not actually start the bot. This means we don't add another service that needs to run all the time, which could impact some contribs on lower powered hardware.
* | | | | | | | | | | | | | | Merge pull request #1826 from python-discord/ignore-votingGravatar ChrisJL2021-09-11-3/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | Adds Core Dev Voting To Changelog Blacklist
| * | | | | | | | | | | | | | Adds Core Dev Voting To Changelog BlacklistGravatar Hassan Abouelela2021-09-11-3/+5
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the channel used for voting on contributors to the message changelog blacklist. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | | | | | | | | | | | Merge pull request #1788 from ↵Gravatar ChrisJL2021-09-09-8/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-discord/Only-check-domain-filters-against-URL-like-parts-of-a-message Only check URL-like objects against domain filters
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into ↵Gravatar ChrisJL2021-09-09-240/+450
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only-check-domain-filters-against-URL-like-parts-of-a-message
* | | | | | | | | | | | | | | Merge pull request #1819 from python-discord/string-formatting-tagGravatar ChrisJL2021-09-09-0/+24
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add string-formatting tag
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into string-formatting-tagGravatar ChrisJL2021-09-09-17/+12
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #1813 from python-discord/declare-talentpool-cache-on-startupGravatar ChrisJL2021-09-08-17/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Declare TalentPool.cache on init of cog
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into declare-talentpool-cache-on-startupGravatar ChrisJL2021-09-08-20/+52
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Use - rather than 0 for number of nominees when cache isn't readyGravatar Chris Lovering2021-09-08-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Remove previous nominations outputGravatar Chris Lovering2021-09-08-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This raised questions from helpers when they saw that someone had many previous nominations. There is no reason why a helper needs to see this information.
| * | | | | | | | | | | | | | | | Wait until login before trying to use the bot api clientGravatar Chris Lovering2021-09-08-1/+5
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Declare and refresh TalentPool.cache on init of cogGravatar Chris Lovering2021-09-06-6/+8
| | |_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids issues in the server cog trying to access it before it's assigned and refreshed. I also migrated to the tasks to `scheduling.create_task()` as the created tasks currently don't have any error handling they can hide errors in development until the task object is destroyed (if that occurs at all) which logs the exception. The scheduling alternative attaches a callback which logs exceptions to prevent this.
| | * | | | | | | | | | | | | | Change formatting of examplesGravatar Janine vN2021-09-09-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After some discussion back and forth, I've adjusted how to display the examples and code bock to be of a more REPL-style. Additionally, a filler character for the "Center Me!" string is added to illustrate how exactly in centers it. This commit also adds some small styling changes.
| | * | | | | | | | | | | | | | Add required newline to end of fileGravatar Janine vN2021-09-09-1/+1
| | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | Add string-formatting tagGravatar Janine vN2021-09-09-0/+27
| |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a tag to show the string formatting mini language
* | | | | | | | | | | | | | | Add support for `!infraction last` (#1804)Gravatar TizzySaurus2021-09-08-19/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for `!infraction last` `!infraction last` will view details of the last infraction the user made. Also changes the `Infraction` converter to use the `expanded` endpoint 1) Added `InvalidInfraction` to `bot.errors` - called when value passed to `Infraction` converter is invalid 2) Improved error messages for when an invalid infraction is passed to `!infraction {infr_id}` 3) Improved some other messages/docstrings etc. Co-authored-by: Xithrius <[email protected]>
* | | | | | | | | | | | | | | Merge pull request #1814 from python-discord/Expand-fitlers-to-.gg-Gravatar Matteo Bertucci2021-09-06-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | Add .gg/ to invite filter regex
| * | | | | | | | | | | | | | Add .gg/ to invite filter regexGravatar Chris Lovering2021-09-06-1/+2
|/ / / / / / / / / / / / / /
| * | | | | | | | | | | | | Refactor & simplifiy domain filter checkGravatar Chris Lovering2021-09-06-8/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Only check URL-like objects against domain filtersGravatar Chris Lovering2021-08-28-4/+5
| | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a message such as 'https://google.com hello! flask.request.method' would be filtered due to us filtering the url shortener t.me. This commit changes to logic so that we only check parts of the messages that matched the URL regex against our blacklist, to avoid these false-positives.
| | | | | | | | | | | | * Remove try_get_tag ctx args testGravatar Numerlor2021-09-22-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The arguments are now parsed by the command itself so the test would only check if the mocked message was passed in. The only case where the errors would fail would be a change to the passed args, so it'd only restrict development as the tests would need to be changed anyway
| | | | | | | | | | | | * Use new command interface that accepts direct contentGravatar Numerlor2021-09-22-10/+1
| | | | | | | | | | | | |
| | | | | | | | | | | | * Handle argument parsing through identifier from_string instead of d.pyGravatar Numerlor2021-09-22-24/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us skip on the logic of figuring out whether we received a tag name alone, or both a name and a group
| | | | | | | | | | | | * Reword all tags embed titleGravatar Numerlor2021-09-13-1/+1
| | | | | | | | | | | | |
| | | | | | | | | | | | * Rename methods to better reflect their new behaviourGravatar Numerlor2021-09-13-4/+4
| | | | | | | | | | | | |
| | | | | | | | | | | | * remove redundant returns on both branchesGravatar Numerlor2021-09-13-2/+1
| | | | | | | | | | | | |
| | | | | | | | | | | | * Return formatted list instead of paginating directly in tag list methodsGravatar Numerlor2021-09-13-20/+18
| | | | | | | | | | | | |
| | | | | | | | | | | | * Use a -inf default for comparison to skip containment checkGravatar Numerlor2021-09-06-1/+1
| | | | | | | | | | | | |