Remove _get_guild_id from Messageable ABC.

This commit is contained in:
Rapptz
2017-01-14 19:22:26 -05:00
parent ce9d5b4f4a
commit 92dd519b1a
7 changed files with 11 additions and 39 deletions

View File

@ -126,10 +126,6 @@ class Context(discord.abc.Messageable):
def _get_channel(self):
return self.channel
def _get_guild_id(self):
g = self.guild
return g.id if g is not None else None
@property
def cog(self):
"""Returns the cog associated with this context's command. None if it does not exist."""