aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Replacing the round function with a format specifier.Gravatar Xithrius2020-09-21-1/+1
| | | Co-authored-by: Dennis Pham <[email protected]>
* Comment updated from "microseconds" to "seconds"Gravatar Xithrius2020-09-21-1/+1
| | | Co-authored-by: Dennis Pham <[email protected]>
* Description renamed to avoid verbosity.Gravatar Xithrius2020-09-21-1/+1
|
* Added period to docstring.Gravatar Xithrius2020-09-21-1/+1
|
* Created the Latency cog to measure ping in milliseconds.Gravatar Xithrius2020-09-21-0/+57
|
* Updated dependencies to include aioping.Gravatar Xithrius2020-09-21-114/+133
|
* Merge pull request #1167 from Numerlor/eval-escape-pasteGravatar Mark2020-09-21-2/+3
|\ | | | | Upload eval output with codeblock escapes to pastebin
| * Accommodate new upload behaviour in testsGravatar Numerlor2020-09-21-2/+2
| |
| * Upload output with codeblock escapes to pastebinGravatar Numerlor2020-09-21-0/+1
| | | | | | | | | | The output can't be sent to discord, but it won't affect anything in the paste service and can safely be uploaded to it.
* | Merge pull request #1150 from python-discord/feat/backend/217/has_any_roleGravatar Mark2020-09-21-180/+173
|\ \ | | | | | | Implement with(out)_role checks and decorators using has_any_role
| * \ Fix conflicts caused by #1103Gravatar MarkKoz2020-09-21-526/+1662
| |\ \ | |/ / |/| | | | | Bunch of things were renamed, which mainly caused import conflicts.
* | | Merge PR #817: Write tests for moderation utilsGravatar kwzrd2020-09-21-12/+384
|\ \ \ | |_|/ |/| |
| * | Fix mod utils tests patch locationsGravatar ks1292020-09-21-4/+4
| | |
| * | Fix import order of mod utils testsGravatar ks1292020-09-21-1/+1
| | |
| * | Fix import path of mod utilsGravatar ks1292020-09-21-1/+1
| | |
| * | Fix end of file of mod utils testsGravatar ks1292020-09-21-1/+1
| | |
| * | Merge branch 'master' into mod-utils-testsGravatar ks1292020-09-21-3062/+6783
| |\ \ | |/ / |/| |
* | | Merge pull request #1103 from python-discord/feat/backend/160/cog-subdirsGravatar Kieran Siek2020-09-21-257/+301
|\ \ \ | | | | | | | | Move cogs to subdirectories
| * \ \ Merge branch 'master' into feat/backend/160/cog-subdirsGravatar kosayoda2020-09-21-811/+1257
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #1158 from python-discord/config-updateGravatar Senjan212020-09-16-3/+4
|\ \ \ \ | | | | | | | | | | Updated the names of reddit emotes
| * | | | remove random space in `upvotes` valueGravatar Senjan212020-09-16-1/+1
| | | | |
| * | | | update the reddit emojis to actual emojis'Gravatar Senjan212020-09-16-3/+3
| | | | |
| * | | | Updating names of reddit emotes.Gravatar Senjan212020-09-16-3/+4
| | | | |
* | | | | Merge pull request #927 from Numerlor/truncate-internal-evalGravatar Kieran Siek2020-09-16-62/+186
|\ \ \ \ \ | |/ / / / |/| | | | Truncate internal eval.
| * | | | Merge branch 'master' into truncate-internal-evalGravatar Kieran Siek2020-09-16-1923/+4960
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Verification: update & improve docstringsGravatar kwzrd2020-09-11-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After moving constants to config, the docstring references were not updated accordingly, and remained uppercase. This commit also removed the redundant list indentation.
* | | | | Merge pull request #1077 from python-discord/kwzrd/verificationGravatar Daniel Brown2020-09-10-21/+617
|\ \ \ \ \ | | | | | | | | | | | | Take steps to increase verification rate
| * \ \ \ \ Merge branch 'master' into kwzrd/verificationGravatar Daniel Brown2020-09-10-800/+529
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Verification: move constants to configGravatar kwzrd2020-09-10-25/+43
| | | | | |
| * | | | | Verification: set 'tasks_running' to 0 on suspicious 403sGravatar kwzrd2020-08-29-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Prevent the tasks from starting again if the bot restarts.
| * | | | | Verification: denote `_maybe_start_tasks` as privateGravatar kwzrd2020-08-29-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Consistency with the new `_stop_tasks` method.
| * | | | | Verification: stop tasks on suspicious 403Gravatar kwzrd2020-08-29-1/+4
| | | | | |
| * | | | | Verification: add helper for stopping tasksGravatar kwzrd2020-08-29-5/+17
| | | | | |
| * | | | | Verification: improve allowed mentions handlingGravatar kwzrd2020-08-27-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I really didn't like the constants, but the construction of allowed mentions instances is syntactically noisy, so I prefer to keep it out of the important logic. Abstracting it behind a function seems to be the best approach yet.
| * | | | | Verification: document StopExecution handlingGravatar kwzrd2020-08-27-0/+3
| | | | | |
| * | | | | Verification: stop kicking members on suspicious 403Gravatar kwzrd2020-08-26-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A Discord error code 50_0007 signifies that the DM dispatch failed because the target user does not accept DMs from the bot. Such errors are ignored as before. Any other 403s will however cause the bot to stop making requests. This is in case the bot gets caught by an anti-spam filter and should immediately stop.
| * | | | | Verification: add helper for alerting adminsGravatar kwzrd2020-08-26-0/+18
| | | | | |
| * | | | | Verification: retain ping in edited confirmation msgGravatar kwzrd2020-08-26-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent a ghost ping from occurring upon reaction. Co-authored-by: Senjan21 <[email protected]>
| * | | | | Verification: remove explicit everyones from allowed mentionsGravatar kwzrd2020-08-26-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the kwarg isn't passed, it uses the value that was given to the bot on init (False), despite the kwarg defaulting to True. Thanks to Mark and Senjan for helping me understand this. Co-authored-by: MarkKoz <[email protected]> Co-authored-by: Senjan21 <[email protected]>
| * | | | | Verification: separate guild invite by empty lineGravatar kwzrd2020-08-26-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joe Banks <[email protected]>
| * | | | | Verification: send guild invite with kick messageGravatar kwzrd2020-08-26-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it easy for users to re-join. Co-authored-by: Joe Banks <[email protected]>
| * | | | | Verification: add guild invite to configGravatar kwzrd2020-08-26-0/+2
| | | | | |
| * | | | | Verification: add missing word to task status messageGravatar kwzrd2020-08-19-2/+2
| | | | | |
| * | | | | Verification: pause request execution after each batchGravatar kwzrd2020-08-14-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Limit values are mostly assumptions, as this feature is very difficult to test at scale. Please see docstring amendmends for further information.
| * | | | | Verification: adjust coroutines to use generic dispatchGravatar kwzrd2020-08-13-32/+11
| | | | | |
| * | | | | Verification: add `_send_requests` helperGravatar kwzrd2020-08-13-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generic request dispatch method to avoid code duplication with error handling & bad status logging.
| * | | | | Verification: improve confirmation message handlingGravatar kwzrd2020-08-08-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppress errors coming from Discord when changing the confirmation message in case it gets deleted, or something else goes wrong. This commit also adds either the ok hand or the warning emoji to the edited message content, as with the guild syncer confirmation. Co-authored-by: MarkKoz <[email protected]>
| * | | | | Verification: strip reminder message once and for allGravatar kwzrd2020-08-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>
| * | | | | Verification: widen set type annotationGravatar kwzrd2020-08-08-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>
| * | | | | Verification: only take reactions from core devsGravatar kwzrd2020-08-08-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: MarkKoz <[email protected]>