Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bot not working here is the error #7

Closed
yerkovlad opened this issue Aug 8, 2022 · 1 comment
Closed

bot not working here is the error #7

yerkovlad opened this issue Aug 8, 2022 · 1 comment

Comments

@yerkovlad
Copy link

Traceback (most recent call last):
File "E:\venv\Lesson\venv\mysever\gcoinbot-master\gcoinbot-master\confi.py", line 10, in
with open('config.json') as config_file:
FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

@jaypey
Copy link
Owner

jaypey commented Aug 15, 2022

config.json is a file not included in the repository that you must create for the bot to work. The file has the following format:
{ "token": "YOUR_TOKEN_HERE" }
Simply create the file and put it in the same directory as the py script.

@jaypey jaypey closed this as completed Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants