aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-10 21:36:49 -0400
committerRapptz <[email protected]>2017-05-10 21:36:49 -0400
commitbe2e706b2add43b88be8e5e480628cd64adbad60 (patch)
tree8624bbb302e18ccd2a3494bea4a23b9fa1a07486
parent[commands] Converter.convert is always a coroutine. (diff)
downloaddiscord.py-be2e706b2add43b88be8e5e480628cd64adbad60.tar.xz
discord.py-be2e706b2add43b88be8e5e480628cd64adbad60.zip
Rename abc.Callable to abc.Connectable.
-rw-r--r--discord/abc.py2
-rw-r--r--discord/channel.py2
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: