diff options
| author | Rapptz <[email protected]> | 2017-05-10 21:36:49 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-10 21:36:49 -0400 |
| commit | be2e706b2add43b88be8e5e480628cd64adbad60 (patch) | |
| tree | 8624bbb302e18ccd2a3494bea4a23b9fa1a07486 | |
| parent | [commands] Converter.convert is always a coroutine. (diff) | |
| download | discord.py-be2e706b2add43b88be8e5e480628cd64adbad60.tar.xz discord.py-be2e706b2add43b88be8e5e480628cd64adbad60.zip | |
Rename abc.Callable to abc.Connectable.
| -rw-r--r-- | discord/abc.py | 2 | ||||
| -rw-r--r-- | discord/channel.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py index 6eb4fe92..e0f5a0c4 100644 --- a/discord/abc.py +++ b/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 diff --git a/discord/channel.py b/discord/channel.py index 80948c8e..329400ec 100644 --- a/discord/channel.py +++ b/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: |