fix NameError

This commit is contained in:
slice 2018-06-19 17:42:21 -07:00
parent 6f0528eaec
commit a6a4845778
No known key found for this signature in database
GPG Key ID: 1508C19D7436A26D
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class GatewayWebsocket:
raise ShardingRequired('Too many shards.')
if current_shard > shard_count:
raise InvaildShard('Shard count > Total shards')
raise InvalidShard('Shard count > Total shards')
async def handle_0(self, payload: dict):
"""Handle the OP 0 Identify packet."""