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/channel.py | |
| 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/channel.py')
| -rw-r--r-- | discord/channel.py | 9 |
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 |