aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-07-13Remove redundant clean_content variable.Gravatar Leon Sandøy-5/+2
https://github.com/python-discord/bot/issues/667
2020-07-13Don't run on_message if self.webhook is None.Gravatar Leon Sandøy-1/+1
https://github.com/python-discord/bot/issues/667
2020-07-13Only mods+ may use the commands in this cog.Gravatar Leon Sandøy-0/+6
https://github.com/python-discord/bot/issues/667
2020-07-13Add avatar_url in python_news.pyGravatar Leon Sandøy-0/+2
https://github.com/python-discord/bot/issues/667
2020-07-13Better docstring for DMRelay cog.Gravatar Leon Sandøy-1/+1
https://github.com/python-discord/bot/issues/667
2020-07-12Add a way to respond to DMs.Gravatar Leon Sandøy-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
2020-07-12Fix DuckPond tests now that send_webhook is gone.Gravatar Leon Sandøy-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
2020-07-12Only relay DMs, and only from humans.Gravatar Leon Sandøy-0/+4
https://github.com/python-discord/bot/issues/667
2020-07-12Replace channel ID with webhook ID for dm_log.Gravatar Leon Sandøy-4/+2
https://github.com/python-discord/bot/issues/667
2020-07-12Relay all DMs and embeds to #dm-log.Gravatar Leon Sandøy-0/+67
https://github.com/python-discord/bot/issues/667
2020-07-12Refactor python_news.py to use webhook util.Gravatar Leon Sandøy-43/+31
https://github.com/python-discord/bot/issues/667
2020-07-12Refactor Duck Pond embed sender to be a util.Gravatar Leon Sandøy-22/+42
https://github.com/python-discord/bot/issues/667
2020-07-12Add the #dm_log ID to constants.Gravatar Leon Sandøy-0/+2
https://github.com/python-discord/bot/issues/667
2020-07-09Update discord.py to fix issue with overwritesGravatar MarkKoz-3/+3
Fixes BOT-6T
2020-07-09Update range-len.mdGravatar Steele Farnsworth-4/+0
Removed all blank lines to improve how it's rendered on Discord; thanks @kwzrd for rendering this!
2020-07-08Removed hard line breaksGravatar swfarnsworth-7/+3