I have the current code below:
try:
client.run(token)
except:
print("Connection error!")
There is one issue with this, a bare 'Except' is not a good idea. How do I type something like "Except ClientConnectorError:"?
Specific raise:
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host discordapp.com:443 ssl:default [nodename nor servname provided, or not known]