Handle 4011 ws event code (#1083)

* 4011

* Update WebSocketManager.js

* smh gawdl3y
This commit is contained in:
Gus Caplan
2017-01-11 16:59:10 -06:00
committed by Amish Shah
parent b2822c584a
commit a3091f5262
4 changed files with 3 additions and 3 deletions

View File

@@ -72,6 +72,7 @@ exports.Errors = {
INVALID_RATE_LIMIT_METHOD: 'Unknown rate limiting method.',
BAD_LOGIN: 'Incorrect login details were provided.',
INVALID_SHARD: 'Invalid shard settings were provided.',
SHARDING_REQUIRED: 'This session would have handled too many guilds - Sharding is required.',
INVALID_TOKEN: 'An invalid token was provided.',
};