aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | | | Merge branch 'main' into feat/1365/add-bot-badges-to-userGravatar Matteo Bertucci2021-04-25-29/+243
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | |
* | | | | | | | | | | | | | | Merge pull request #1529 from Numerlor/selective-traceGravatar Hassan Abouelela2021-04-25-9/+36
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make trace logging optional and allow selective enabling
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into selective-traceGravatar Numerlor2021-04-23-30/+285
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Merge pull request #1546 from ToxicKidz/remind-embed-timestampGravatar Matteo Bertucci2021-04-21-5/+8
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Embed.timestamp for the !remind command
| * | | | | | | | | | | | | | | | chore: Revert back to 'Due'Gravatar ToxicKidz2021-04-21-1/+1
| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | chore: Use Embed.timestamp for showing when the reminder will be sentGravatar ToxicKidz2021-04-20-5/+8
|/ / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | Merge pull request #1535 from francisdbillones/patch-1Gravatar Boris Muratov2021-04-20-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix zen's negative indexing
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into patch-1Gravatar Boris Muratov2021-04-20-14/+198
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Merge pull request #1543 from python-discord/test-async-mockGravatar Hassan Abouelela2021-04-20-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests: AsyncMock is now in the standard library!
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into test-async-mockGravatar Hassan Abouelela2021-04-20-7/+145
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #1544 from python-discord/mods-role-in-allowed-mentionsGravatar Matteo Bertucci2021-04-20-0/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the Moderators role to moderation_roles in config
| * | | | | | | | | | | | | | | | | | Add the Moderators role to moderation_roles in configGravatar Joe Banks2021-04-20-0/+1
|/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows mod alert pings to go through in #mod-alerts, the allowed mentions only included the mods team role which is not pinged on mod alerts.
* | | | | | | | | | | | | | | | | | Merge pull request #1526 from python-discord/mbaruh/offdutyGravatar Boris Muratov2021-04-20-8/+145
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Add Modpings cog and new Moderators role
| * | | | | | | | | | | | | | | | | Merge branch 'main' into mbaruh/offdutyGravatar Boris Muratov2021-04-20-42/+179
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Remove allowed mentions in modlog alertGravatar Boris Muratov2021-04-20-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The modlog alert embed no longer pings everyone.
| * | | | | | | | | | | | | | | | | Improve rediscache docGravatar Boris Muratov2021-04-20-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ChrisJL <[email protected]>
| * | | | | | | | | | | | | | | | | CamelCase the cog nameGravatar Boris Muratov2021-04-19-3/+3
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge branch 'mbaruh/offduty' of https://github.com/python-discord/bot into ↵Gravatar mbaruh2021-04-19-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mbaruh/offduty
| | * | | | | | | | | | | | | | | | | Remove here pingGravatar Boris Muratov2021-04-17-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kinda defeats the purpose of being off-duty.
| * | | | | | | | | | | | | | | | | | Renamed duty.py to modpings.pyGravatar mbaruh2021-04-19-0/+0
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Renamed Duty cog to ModpingsGravatar mbaruh2021-04-19-23/+23
| |/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The renaming includes the commands inside it.
| * | | | | | | | | | | | | | | | | Name the rescheduling task, and cancel it on cog unloadGravatar mbaruh2021-04-17-1/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Improve documentationGravatar mbaruh2021-04-17-1/+3
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Assume a scheduled task exists for `duty on`Gravatar mbaruh2021-04-17-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lack of such a task may be indicative of a bug.
| * | | | | | | | | | | | | | | | | Keep config succintGravatar mbaruh2021-04-17-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A moderator is expected to have the mod-team role and therefore it's enough to specify the latter in the mod and staff roles.
| * | | | | | | | | | | | | | | | | Use set instead of update in duty offGravatar mbaruh2021-04-15-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Add off-duty expiration date to audit logGravatar mbaruh2021-04-15-2/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Fix setup docstring to specify correct cogGravatar mbaruh2021-04-15-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Remove extra newlineGravatar Boris Muratov2021-04-15-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: ks129 <[email protected]>
| * | | | | | | | | | | | | | | | | Add Duty cog and new Moderators roleGravatar mbaruh2021-04-14-4/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a cog to allow moderators to go off and on duty. The off-duty state is cached via a redis cache, and its expiry is scheduled via the Scheduler. Additionally changes which roles are pinged on mod alerts.
| | * | | | | | | | | | | | | | | | Tests: AsyncMock is now in the standard library!Gravatar Matteo Bertucci2021-04-20-1/+1
| |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `tests/README.md` file still referenced our old custom `AsyncMock` that has been removed in favour of the standard library one that has been introduced in 3.8. This commit fixes this by updating the section.
* | | | | | | | | | | | | | | | | Merge pull request #1532 from doublevcodes/mainGravatar Boris Muratov2021-04-20-2/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | !superstarify default time
| * | | | | | | | | | | | | | | | | Update bot/exts/moderation/infraction/superstarify.pyGravatar Vivaan Verma2021-04-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| * | | | | | | | | | | | | | | | | Merge branch 'main' into mainGravatar Vivaan Verma2021-04-19-4/+46
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Change type hint from duration to expiryGravatar Vivaan Verma2021-04-19-2/+2
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Add default duration as constant and use Duration converterGravatar Vivaan Verma2021-04-19-4/+4
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Inline duration assignmentGravatar Vivaan Verma2021-04-19-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Rohan Reddy Alleti <[email protected]>
| * | | | | | | | | | | | | | | | | Fix linting errorsGravatar Vivaan Verma2021-04-18-1/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Check if a duration was providedGravatar Vivaan Verma2021-04-18-2/+3
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Make duration an optional arg and default it to 1 hourGravatar Vivaan Verma2021-04-18-1/+5
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Added default duration of 1h to superstarifyGravatar Vivaan Verma2021-04-18-1/+1
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | Fix zen's negative indexingGravatar francisdbillones2021-04-19-1/+1
| | |/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Negative indexing starts at -1, not 0, meaning lower bound should be -1 * len(zen_lines), not -1 * upper_bound.
| | | * | | | | | | | | | | | | Add blacklist format to the BOT_TRACE_LOGGERS env varGravatar Numerlor2021-04-19-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To mimic the same behaviour, setting all of the loggers to the trace level was changed to a "*" prefix without looking at other contents instead of setting it exactly to "ROOT" or "*"
| | | * | | | | | | | | | | | | Make trace logging optional and allow selective enablingGravatar Numerlor2021-04-15-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because coloredlogs' install changes the level of the root handler, the setLevel call had to be moved to after the install.
| | | | * | | | | | | | | | | | Tests: simplify public flags handlingGravatar Matteo Bertucci2021-04-24-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co_authored-by: Numerlor <[email protected]>
| | | | * | | | | | | | | | | | Tests: members shouldn't have any public flagsGravatar Matteo Bertucci2021-04-17-0/+8
| | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | Move the verified developer badge to the embed titleGravatar Matteo Bertucci2021-04-17-3/+5
| | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | Make YAMLGetter raise AttributeError instead of KeyErrorGravatar Matteo Bertucci2021-04-17-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Utility functions such as hasattr or getattr except __getattribute__ to raise AttributeError not KeyError. This commit also lowers the logging level of the error message to info since it is up to the caller to decide if this is an expected failure or not.
| | | | * | | | | | | | | | | | Merge remote-tracking branch 'origin/main' into feat/1365/add-bot-badges-to-userGravatar Matteo Bertucci2021-04-17-2630/+4712
| | | | |\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / / / / | |/| | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | Merge branch 'master' into feat/1365/add-bot-badges-to-userGravatar Joe Banks2021-02-22-12/+12
| | | | |\ \ \ \ \ \ \ \ \ \ \ \