Browse Source

Rename abc.Callable to abc.Connectable.

pull/572/head
Rapptz 8 years ago
parent
commit
be2e706b2a
  1. 2
      discord/abc.py
  2. 2
      discord/channel.py

2
discord/abc.py

@ -798,7 +798,7 @@ class Messageable(metaclass=abc.ABCMeta):
return HistoryIterator(self, limit=limit, before=before, after=after, around=around, reverse=reverse)
class Callable(metaclass=abc.ABCMeta):
class Connectable(metaclass=abc.ABCMeta):
__slots__ = ()
@abc.abstractmethod

2
discord/channel.py

@ -297,7 +297,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
count += 1
ret.append(msg)
class VoiceChannel(discord.abc.Callable, discord.abc.GuildChannel, Hashable):
class VoiceChannel(discord.abc.Connectable, discord.abc.GuildChannel, Hashable):
"""Represents a Discord guild voice channel.
Supported Operations:

Loading…
Cancel
Save