mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Split channel types.
This splits them into the following: * DMChannel * GroupChannel * VoiceChannel * TextChannel This also makes the channels "stateful".
This commit is contained in:
@ -38,6 +38,12 @@ class ClientException(DiscordException):
|
||||
"""
|
||||
pass
|
||||
|
||||
class NoMoreMessages(DiscordException):
|
||||
"""Exception that is thrown when a ``history`` operation has no more
|
||||
messages. This is only exposed for Python 3.4 only.
|
||||
"""
|
||||
pass
|
||||
|
||||
class GatewayNotFound(DiscordException):
|
||||
"""An exception that is usually thrown when the gateway hub
|
||||
for the :class:`Client` websocket is not found."""
|
||||
|
Reference in New Issue
Block a user