aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* | | | Only mods+ may use the commands in this cog.Gravatar Leon Sandøy2020-07-13-0/+6
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Add avatar_url in python_news.pyGravatar Leon Sandøy2020-07-13-0/+2
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Better docstring for DMRelay cog.Gravatar Leon Sandøy2020-07-13-1/+1
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Add a way to respond to DMs.Gravatar Leon Sandøy2020-07-12-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This shouldn't be used as a replacement for ModMail, but I think it makes sense to have the feature just in case #dm-log provides an interesting use-case where responding as the bot makes sense. It's a bit of a curiosity, and Ves hates it, but I included it anyway. https://github.com/python-discord/bot/issues/667
* | | | Fix DuckPond tests now that send_webhook is gone.Gravatar Leon Sandøy2020-07-12-39/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the tests were failing because they were expecting send_webhook to be a method of the DuckPond cog, other tests simply were no longer applicable, and have been removed. https://github.com/python-discord/bot/issues/667
* | | | Only relay DMs, and only from humans.Gravatar Leon Sandøy2020-07-12-0/+4
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Replace channel ID with webhook ID for dm_log.Gravatar Leon Sandøy2020-07-12-4/+2
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Relay all DMs and embeds to #dm-log.Gravatar Leon Sandøy2020-07-12-0/+67
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Refactor python_news.py to use webhook util.Gravatar Leon Sandøy2020-07-12-43/+31
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Refactor Duck Pond embed sender to be a util.Gravatar Leon Sandøy2020-07-12-22/+42
| | | | | | | | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | | Add the #dm_log ID to constants.Gravatar Leon Sandøy2020-07-12-0/+2
|/ / / | | | | | | | | | https://github.com/python-discord/bot/issues/667
* | | Merge pull request #1035 from python-discord/range-len-messageGravatar Dennis Pham2020-07-10-0/+11
|\ \ \ | | | | | | | | Add range-len tag
| * \ \ Merge branch 'master' into range-len-messageGravatar Dennis Pham2020-07-10-3/+3
| |\ \ \ | |/ / / |/| | |
* | | | Update discord.py to fix issue with overwritesGravatar MarkKoz2020-07-09-3/+3
| |_|/ |/| | | | | | | | Fixes BOT-6T
| * | Update range-len.mdGravatar Steele Farnsworth2020-07-09-4/+0
| | | | | | | | | Removed all blank lines to improve how it's rendered on Discord; thanks @kwzrd for rendering this!
| * | Removed hard line breaksGravatar swfarnsworth2020-07-08-7/+3
| | |
| * | Initial commit for proposed range-len commandGravatar swfarnsworth2020-07-08-0/+19
|/ /
* | Re-lock PipfileGravatar MarkKoz2020-07-07-2/+1
| | | | | | | | Forgot to do this after removing editable.
* | Don't install discord.py as editableGravatar MarkKoz2020-07-07-1/+1
| | | | | | | | It may be causing it to not be cached in Azure.
* | Fix git install in DockerfileGravatar Joseph Banks2020-07-07-3/+5
| |
* | Add git to Docker imageGravatar Joseph Banks2020-07-07-0/+3
| |
* | Allow owners, admins, and mods roles to be pingedGravatar MarkKoz2020-07-07-1/+2
| |
* | Prevent bot from mentioning rolesGravatar MarkKoz2020-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-updateGravatar Senjan212020-07-07-64/+33
|\ \ | | | | | | ModLog: fix AttributeError in on_member_update
| * \ Merge branch 'master' into bug/mod/bot-4r/modlog-member-updateGravatar Senjan212020-07-07-166/+851
| |\ \ | |/ / |/| |
* | | Merge pull request #1021 from python-discord/feat/util/1019/slowmodeGravatar Dennis Pham2020-07-06-6/+232
|\ \ \ | | | | | | | | Implement the Slowmode cog
| * | | Fix imports in slowmode testsGravatar Den42002020-07-06-3/+3
| | | |
| * | | Move slowmode cog to the moderation subpackageGravatar Den42002020-07-06-2/+3
| | | |
| * | | Improve set_slowmode tests by checking whether the channel was editedGravatar Den42002020-07-06-8/+22
| | | |
| * | | Add multiple test cases for set_slowmode testsGravatar Den42002020-07-06-10/+34
| | | |
| * | | Use local text_channel instead of instance attributeGravatar Den42002020-07-06-13/+10
| | | |
| * | | Add tests for set_slowmodeGravatar Den42002020-07-06-0/+20
| | | |
| * | | Add tests for reset_slowmodeGravatar Den42002020-07-06-3/+22
| | | |
| * | | Add tests for cog_check and get_slowmodeGravatar Den42002020-07-06-0/+37
| | | |
| * | | Update the docstrings to account for optional channel parameterGravatar Den42002020-07-06-4/+4
| | | |
| * | | Remove unneeded kwargs for `typing.Optional` to keep consistencyGravatar Den42002020-07-06-2/+2
| | | |
| * | | Make channel comparison against None consistentGravatar Den42002020-07-06-1/+1
| | | |
| * | | Default to the channel that `slowmode set` was invoked inGravatar Den42002020-07-06-1/+5
| | | |
| * | | Merge branch 'feat/util/1019/slowmode' of https://git.pydis.com/bot into ↵Gravatar Den42002020-07-06-0/+0
| |\ \ \ | | | | | | | | | | | | | | | feat/util/1019/slowmode
| | * \ \ Merge branch 'master' into feat/util/1019/slowmodeGravatar Dennis Pham2020-07-03-1/+1
| | |\ \ \ | |_|/ / / |/| | | |
| * | | | Default to the channel that `slowmode reset` was invoked inGravatar Den42002020-07-06-1/+5
| | | | |
| * | | | Default to the channel that `slowmode get` was invoked inGravatar Den42002020-07-06-1/+6
| | | | |
| * | | | Remove monkeypatch and apply appropriate changes to _stringify_time_unitGravatar Den42002020-07-06-7/+4
| | | | |
| * | | | Create a constant for the max slowmode delayGravatar Den42002020-07-06-1/+4
| | | | |
| * | | | Merge branch 'master' of https://git.pydis.com/bot into feat/util/1019/slowmodeGravatar Den42002020-07-03-1/+1
| |\ \ \ \ | |/ / / / |/| / / / | |/ / /
* | | | Outdated badge in README upset meGravatar Joseph Banks2020-07-03-1/+1
| | | |
| * | | Only allow moderators to use the entire cogGravatar Den42002020-07-03-3/+5
| | | |
| * | | Move log to before what it's logging executes.Gravatar Den42002020-07-03-6/+8
| | | | | | | | | | | | | | | | This makes sure the log will be made, since the operations executed are now below it.
| * | | Remove precision kwarg usageGravatar Den42002020-07-03-9/+6
| | | |
| * | | Use total_seconds method instead of seconds attributeGravatar Den42002020-07-01-1/+1
| | | |