| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | Update InfractionScheduler's scheduler to the new API | 2020-06-20 | -17/+12 | ||
| | | | | | |||||
| | * | | | Update HelpChannels's scheduler to the new API | 2020-06-20 | -50/+20 | ||
| | | | | | |||||
| | * | | | Update Silence's scheduler to the new API | 2020-06-20 | -26/+6 | ||
| | | | | | |||||
| | * | | | Update Reminders's scheduler to the new API | 2020-06-20 | -14/+15 | ||
| | | | | | |||||
| | * | | | Update Filtering's scheduler to the new API | 2020-06-20 | -10/+6 | ||
| | | | | | |||||
| | * | | | Scheduler: add a method to schedule at a specific datetime | 2020-06-20 | -0/+13 | ||
| | | | | | |||||
| | * | | | Scheduler: add a method to schedule with a delay | 2020-06-20 | -0/+19 | ||
| | | | | | |||||
| | * | | | Scheduler: rename "task" param to "coroutine" | 2020-06-20 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | Naming it "task" is inaccurate because `create_task` accepts a coroutine rather than a Task. What it does is wrap the coroutine in a Task. | ||||
| | * | | | Scheduler: drop _task suffix from method names | 2020-06-20 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | It's redundant. After all, this scheduler cannot schedule anything else. | ||||
| | * | | | Scheduler: remove ignore_missing param | 2020-06-20 | -10/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | The ability to use the `in` operator makes this obsolete. Callers can check themselves if a task exists before they try to cancel it. | ||||
| | * | | | Scheduler: use pop instead of get when cancelling | 2020-06-19 | -7/+7 | ||
| | | | | | |||||
| | * | | | Scheduler: add support for in operator | 2020-06-19 | -0/+4 | ||
| | | | | | |||||
| | * | | | Scheduler: name tasks | 2020-06-19 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | Makes them easier to identify when debugging. | ||||
| | * | | | Scheduler: directly take the awaitable to schedule | 2020-06-19 | -23/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a major change which simplifies the interface. It removes the need to implement an abstract method, which means the class can now be instantiated rather than subclassed. | ||||
| | * | | | Scheduler: use separate logger for each instance | 2020-06-19 | -24/+17 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | Each instance now requires a name to be specified, which will be used as the suffix of the logger's name. This removes the need to manually prepend every log message with the name. | ||||
| | | * | | Revert "Ping @Moderators in ModLog" | 2020-07-13 | -15/+20 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let's continue to use "@everyone" for now, and add an explicit allow for it so that it successfully pings people. There's a full justification for this in the pull request. https://github.com/python-discord/bot/issues/1038 | ||||
| | | * | | Remove pointless comment | 2020-07-12 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | This comment violates the DRY principle. Co-authored-by: Sebastiaan Zeeff <[email protected]> | ||||
| | | * | | Allow role pings in Syncers and help_channels.py | 2020-07-12 | -2/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we're running Discord 1.4.0a, we need to explicitely allow all the role mentions for sends that don't use ping one of the globally whitelisted role pings, which are Moderators, Admins and Owners. We were pinging roles other than Mods+ in exactly two cases: - Inside the Syncers, whenever we ask for sync confirmation (if the number of roles or users to sync is unusually high) - In the help_channels.py system, whenever we max out help channels and are unable to create more. This commit addresses both of these. GitHub #1038 https://github.com/python-discord/bot/issues/1038 | ||||
| | | * | | Ping @Moderators in ModLog | 2020-07-12 | -14/+14 | ||
| | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of pinging @everyone, let's just ping the people who actually need to see the mod alerts or the modlogs, which would be the mods. `@everyone` is currently not permitted by our allowed_mentions setting, so this also restores pings to those channels. GitHub #1038 https://github.com/python-discord/bot/issues/1038 | ||||
| * | | | Merge pull request #1035 from python-discord/range-len-message | 2020-07-10 | -0/+11 | ||
| |\ \ \ | | | | | | | | | Add range-len tag | ||||
| | * \ \ | Merge branch 'master' into range-len-message | 2020-07-10 | -3/+3 | ||
| | |\ \ \ | |/ / / |/| | | | |||||
| * | | | | Update discord.py to fix issue with overwrites | 2020-07-09 | -3/+3 | ||
| | |_|/ |/| | | | | | | | | Fixes BOT-6T | ||||
| | * | | Update range-len.md | 2020-07-09 | -4/+0 | ||
| | | | | | | | | | | Removed all blank lines to improve how it's rendered on Discord; thanks @kwzrd for rendering this! | ||||
| | * | | Removed hard line breaks | 2020-07-08 | -7/+3 | ||
| | | | | |||||
| | * | | Initial commit for proposed range-len command | 2020-07-08 | -0/+19 | ||
| |/ / | |||||
| * | | Re-lock Pipfile | 2020-07-07 | -2/+1 | ||
| | | | | | | | | | Forgot to do this after removing editable. | ||||
| * | | Don't install discord.py as editable | 2020-07-07 | -1/+1 | ||
| | | | | | | | | | It may be causing it to not be cached in Azure. | ||||
| * | | Fix git install in Dockerfile | 2020-07-07 | -3/+5 | ||
| | | | |||||
| * | | Add git to Docker image | 2020-07-07 | -0/+3 | ||
| | | | |||||
| * | | Allow owners, admins, and mods roles to be pinged | 2020-07-07 | -1/+2 | ||
| | | | |||||
| * | | Prevent bot from mentioning roles | 2020-07-07 | -96/+127 | ||
| | | | | | | | | | This was open to abuse when the bot relayed user input. | ||||
| * | | Merge pull request #1000 from python-discord/bug/mod/bot-4r/modlog-member-update | 2020-07-07 | -64/+33 | ||
| |\ \ | | | | | | | ModLog: fix AttributeError in on_member_update | ||||
| | * \ | Merge branch 'master' into bug/mod/bot-4r/modlog-member-update | 2020-07-07 | -166/+851 | ||
| | |\ \ | |/ / |/| | | |||||
| * | | | Merge pull request #1021 from python-discord/feat/util/1019/slowmode | 2020-07-06 | -6/+232 | ||
| |\ \ \ | | | | | | | | | Implement the Slowmode cog | ||||
| | * | | | Fix imports in slowmode tests | 2020-07-06 | -3/+3 | ||
| | | | | | |||||
| | * | | | Move slowmode cog to the moderation subpackage | 2020-07-06 | -2/+3 | ||
| | | | | | |||||
| | * | | | Improve set_slowmode tests by checking whether the channel was edited | 2020-07-06 | -8/+22 | ||
| | | | | | |||||
| | * | | | Add multiple test cases for set_slowmode tests | 2020-07-06 | -10/+34 | ||
| | | | | | |||||
| | * | | | Use local text_channel instead of instance attribute | 2020-07-06 | -13/+10 | ||
| | | | | | |||||
| | * | | | Add tests for set_slowmode | 2020-07-06 | -0/+20 | ||
| | | | | | |||||
| | * | | | Add tests for reset_slowmode | 2020-07-06 | -3/+22 | ||
| | | | | | |||||
| | * | | | Add tests for cog_check and get_slowmode | 2020-07-06 | -0/+37 | ||
| | | | | | |||||
| | * | | | Update the docstrings to account for optional channel parameter | 2020-07-06 | -4/+4 | ||
| | | | | | |||||
| | * | | | Remove unneeded kwargs for `typing.Optional` to keep consistency | 2020-07-06 | -2/+2 | ||
| | | | | | |||||
| | * | | | Make channel comparison against None consistent | 2020-07-06 | -1/+1 | ||
| | | | | | |||||
| | * | | | Default to the channel that `slowmode set` was invoked in | 2020-07-06 | -1/+5 | ||
| | | | | | |||||
| | * | | | Merge branch 'feat/util/1019/slowmode' of https://git.pydis.com/bot into ↵ | 2020-07-06 | -0/+0 | ||
| | |\ \ \ | | | | | | | | | | | | | | | | feat/util/1019/slowmode | ||||
| | | * \ \ | Merge branch 'master' into feat/util/1019/slowmode | 2020-07-03 | -1/+1 | ||
| | | |\ \ \ | |_|/ / / |/| | | | | |||||
| | * | | | | Default to the channel that `slowmode reset` was invoked in | 2020-07-06 | -1/+5 | ||
| | | | | | | |||||
| | * | | | | Default to the channel that `slowmode get` was invoked in | 2020-07-06 | -1/+6 | ||
| | | | | | | |||||
