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

AssertionError at on_user_invite_accept #217

Closed
schrotle opened this issue May 9, 2023 · 4 comments
Closed

AssertionError at on_user_invite_accept #217

schrotle opened this issue May 9, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@schrotle
Copy link
Contributor

schrotle commented May 9, 2023

Hello,
I'm getting following error when using on_user_invite_accept(invite).
I guess this error is occurring because invite.invitee can be SteamID and more likely a User object.

Traceback (most recent call last):
File "C:\bot-env\lib\site-packages\steam\utils.py", line 838, in maybe_coroutine
return await value
File "C:/bot-env\lib\site-packages\steam\state.py", line 1187, in process_friends
assert not isinstance(invite.invitee, SteamID)
AssertionError

@Gobot1234 Gobot1234 added the bug Something isn't working label May 9, 2023
@Gobot1234
Copy link
Owner

What version of the code are you running?

@schrotle
Copy link
Contributor Author

schrotle commented May 9, 2023

Version 0.9.7

@hani9898
Copy link

having the same problem

Gobot1234 added a commit that referenced this issue May 20, 2023
@Gobot1234
Copy link
Owner

Thank you for reporting this. This issue is resolved in the latest version of 0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants