diff options
| author | 2020-03-03 21:18:40 -0500 | |
|---|---|---|
| committer | 2020-03-03 21:18:40 -0500 | |
| commit | eddd515d864666b45f243ddc516981f10cedcda3 (patch) | |
| tree | d276784370b5712aa72cce3be71d903a889aa2dd /tests | |
| parent | Merge 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