aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/context.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-14 19:22:26 -0500
committerRapptz <[email protected]>2017-01-14 19:22:26 -0500
commit92dd519b1a00fd4969bacd46fcb91b552f1a321a (patch)
tree5965635cb7dd22f2f98aa7feeda82a0cc5d2724a /discord/ext/commands/context.py
parent[commands] Split process_commands into lower level bits. (diff)
downloaddiscord.py-92dd519b1a00fd4969bacd46fcb91b552f1a321a.tar.xz
discord.py-92dd519b1a00fd4969bacd46fcb91b552f1a321a.zip
Remove _get_guild_id from Messageable ABC.
Diffstat (limited to 'discord/ext/commands/context.py')
-rw-r--r--discord/ext/commands/context.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index c1d120f3..1ac4ddff 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -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."""