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

Bob Ross command is broken #6

Open
Blue-Robin-Taken opened this issue Apr 3, 2024 · 0 comments
Open

Bob Ross command is broken #6

Blue-Robin-Taken opened this issue Apr 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Blue-Robin-Taken
Copy link
Owner

Describe the bug
The file can't be read cause it's not created on startup

To Reproduce
Run the bot

Expected behavior
Should give something like this:

Ignoring exception in on_connect
Traceback (most recent call last):
  File "/home/container/.local/lib/python3.11/site-packages/discord/client.py", line 400, in _run_event
    await coro(*args, **kwargs)
  File "/home/container/main.py", line 77, in on_connect
    with open(os.path.abspath(path="Fun/data/bobross.json"), "w+") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/container/Fun/data/bobross.json'

Additional context
I'll fix this when I can, but if someone else makes a good PR I'll accept it

@Blue-Robin-Taken Blue-Robin-Taken added bug Something isn't working good first issue Good for newcomers labels Apr 3, 2024
@Blue-Robin-Taken Blue-Robin-Taken self-assigned this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant