From 92dd519b1a00fd4969bacd46fcb91b552f1a321a Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 14 Jan 2017 19:22:26 -0500 Subject: Remove _get_guild_id from Messageable ABC. --- discord/ext/commands/context.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'discord/ext') 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.""" -- cgit v1.2.3