Message.channel's Object instance has an is_private attribute now.
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.

Rapptz/discord.py,Theoretical/UselessBot,Harmon758/discord.py,mgardne8/discord.py,variablehair/Eggplantato,imayhaveborkedit/discord.py,lgkern/PriestPy,Harmon758/discord.py,rapptz/discord.py,khazhyk/discord.py,jhgg/discord.py