Rename abc.Callable to abc.Connectable.
This commit is contained in:
1 parent
d7478425ca
commit
be2e706b2a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user