Remove _get_guild_id from Messageable ABC.

This commit is contained in:
Rapptz committed 2017-01-14 19:22:26 -05:00
1 parent ce9d5b4f4a
commit 92dd519b1a
7 files changed
+11 -39

No files matched your search

-3
View File
@@ -91,9 +91,6 @@ class User(discord.abc.Messageable):
ch = yield from self.create_dm()
return ch
def _get_guild_id(self):
return None
@property
def dm_channel(self):
"""Returns the :class:`DMChannel` associated with this user if it exists.