i used
`import discord
import os
token = os.environ.get("TOKEN1")
intents = discord.Intents.all()
client = discord.Client(intents=intents)
client.run(token)in replit and pycharm. replit works but pycharm sends the following error:
discord.client: logging in using static token
...
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)')]
`