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 starting (AttributeError: 'Bot' object has no attribute 'tree') #20

Open
Gamesolic opened this issue Dec 23, 2023 · 0 comments
Open

Comments

@Gamesolic
Copy link

Hello,
if i want to start the main.py file i get this error:

Traceback (most recent call last):
File "C:\Users[xxx]\Bard-Discord-bot-main\main.py", line 25, in
@bot.tree.command(name="reset", description="Reset chat context")
AttributeError: 'Bot' object has no attribute 'tree'

How could i fix this?

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

1 participant