Browse Source

Message no longer upgrades if the channel is an Object

pull/74/head
Rapptz 9 years ago
parent
commit
33dbd84398
  1. 3
      discord/message.py

3
discord/message.py

@ -172,6 +172,9 @@ class Message:
def _handle_upgrades(self, channel_id):
self.server = None
if isinstance(self.channel, Object):
return
if self.channel is None:
if channel_id is not None:
self.channel = Object(id=channel_id)

Loading…
Cancel
Save