diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/client.py | 2 | ||||
| -rw-r--r-- | discord/errors.py | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/discord/client.py b/discord/client.py index 4bd8c6be..2497e0f8 100644 --- a/discord/client.py +++ b/discord/client.py @@ -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 diff --git a/discord/errors.py b/discord/errors.py index 6a016149..36ec3b48 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -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 |