aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/channel.py')
-rw-r--r--discord/channel.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 238e235b..6f4c5659 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -92,9 +92,6 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
def _get_channel(self):
return self
- def _get_guild_id(self):
- return self.guild.id
-
def permissions_for(self, member):
base = super().permissions_for(member)
@@ -285,9 +282,6 @@ class DMChannel(discord.abc.Messageable, Hashable):
def _get_channel(self):
return self
- def _get_guild_id(self):
- return None
-
def __str__(self):
return 'Direct Message with %s' % self.recipient
@@ -384,9 +378,6 @@ class GroupChannel(discord.abc.Messageable, Hashable):
def _get_channel(self):
return self
- def _get_guild_id(self):
- return None
-
def __str__(self):
if self.name:
return self.name