diff options
| author | Rapptz <[email protected]> | 2015-11-28 23:05:02 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-28 23:06:23 -0500 |
| commit | c3e7ba367135817c482a9d376700ee2599281ef6 (patch) | |
| tree | 4789f98a92946d80ff5e53641bc428a9ce6d976e /docs | |
| parent | Add caveat note about Message.mention_everyone (diff) | |
| download | discord.py-c3e7ba367135817c482a9d376700ee2599281ef6.tar.xz discord.py-c3e7ba367135817c482a9d376700ee2599281ef6.zip | |
Message.channel's Object instance has an is_private attribute now.
This was to allow for basic checks such as message.channel.is_private
to succeed at the very least. It is a very small mitigation and not
perfect since it doesn't have every attribute that PrivateChannel
itself has. However you could retrieve the user info through the
Message.author attribute.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions