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

Fixing 'bot_info' attribute from GetFullUser #34

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

LuchoTurtle
Copy link
Contributor

Hey there!
Great library, thank you for the tremendous effort so far, huge props! 🎉

I tried to follow the example and after creating a user client (just like in Pyrogram), I tried to initialize a BotController and send_command but I kept hitting this same error:

AttributeError: 'UserFull' object has no attribute 'bot_info'

After a quick debug, I realised the wanted bot_info was further down, inside full_user. This should work now! 😄

@JosXa JosXa merged commit ecfd765 into JosXa:master Jan 4, 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

Successfully merging this pull request may close these issues.

3 participants