Closed OlegatorKras closed 1 year ago
you did not set the environment variable correctly,please search how to set environment variables in PyCharm
Please fill you digital id like ‘123456,67890’,you can get your digital id by @get_id_bot
And your bot token is leaked, please delete the issue after your problem is solved
)Respect you!
Respect
How to fix it Traceback (most recent call last): File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1496, in _exec pydev_imports.execfile(file, globals, locals) # execute the script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Program Files\JetBrains\PyCharm Community Edition 2023.1\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:\Users\krasi\pythonProject121\bing.py", line 17, in
print("BOT_TOKEN: " + BOT_TOKEN)