aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands
diff options
context:
space:
mode:
Diffstat (limited to 'discord/ext/commands')
-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."""