mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-06 20:07:17 +00:00
Rename abc.Callable to abc.Connectable.
This commit is contained in:
parent
d7478425ca
commit
be2e706b2a
@ -798,7 +798,7 @@ class Messageable(metaclass=abc.ABCMeta):
|
|||||||
return HistoryIterator(self, limit=limit, before=before, after=after, around=around, reverse=reverse)
|
return HistoryIterator(self, limit=limit, before=before, after=after, around=around, reverse=reverse)
|
||||||
|
|
||||||
|
|
||||||
class Callable(metaclass=abc.ABCMeta):
|
class Connectable(metaclass=abc.ABCMeta):
|
||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
@ -297,7 +297,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
|||||||
count += 1
|
count += 1
|
||||||
ret.append(msg)
|
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.
|
"""Represents a Discord guild voice channel.
|
||||||
|
|
||||||
Supported Operations:
|
Supported Operations:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user