diff options
| author | Rapptz <[email protected]> | 2017-01-14 19:22:26 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-14 19:22:26 -0500 |
| commit | 92dd519b1a00fd4969bacd46fcb91b552f1a321a (patch) | |
| tree | 5965635cb7dd22f2f98aa7feeda82a0cc5d2724a /discord/ext | |
| parent | [commands] Split process_commands into lower level bits. (diff) | |
| download | discord.py-92dd519b1a00fd4969bacd46fcb91b552f1a321a.tar.xz discord.py-92dd519b1a00fd4969bacd46fcb91b552f1a321a.zip | |
Remove _get_guild_id from Messageable ABC.
Diffstat (limited to 'discord/ext')
| -rw-r--r-- | discord/ext/commands/context.py | 4 |
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.""" |