aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2020-03-03 21:18:40 -0500
committerGravatar S. Co1 <[email protected]>2020-03-03 21:18:40 -0500
commiteddd515d864666b45f243ddc516981f10cedcda3 (patch)
treed276784370b5712aa72cce3be71d903a889aa2dd /tests
parentMerge pull request #750 from python-discord/bug/backend/b748/resolver-in-coro (diff)
Prevent exception if a watched user sends a DM to the bot
The previous embed assumed that the messages would be sent on the server, where the channel would have a name and the message would have a jump URL. For a DM, neither of these are present and an exception will be raised when attempting to construct the embed for the webhook to send.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions