mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-28 15:59:04 +00:00
Remove InvalidEventName exception due to it being unused
This commit is contained in:
1 parent
f770fc1c67
commit
6ae6bd8e6d
3 files changed
+1
-9
No files matched your search
+1
-1
@@ -27,7 +27,7 @@ DEALINGS IN THE SOFTWARE.
|
||||
from __future__ import print_function
|
||||
|
||||
from . import endpoints
|
||||
from .errors import InvalidEventName, InvalidDestination, GatewayNotFound
|
||||
from .errors import *
|
||||
from .user import User
|
||||
from .channel import Channel, PrivateChannel
|
||||
from .server import Server
|
||||
|
||||
@@ -24,10 +24,6 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
"""
|
||||
|
||||
class InvalidEventName(Exception):
|
||||
"""Thrown when an event from :meth:`Client.event` has an invalid name."""
|
||||
pass
|
||||
|
||||
class InvalidDestination(Exception):
|
||||
"""Thrown when the destination from :meth:`Client.send_message` is invalid."""
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user