-
This error is occurring because the code is trying to index a string as if it were a dictionary or list. In Python, you can only use integer indices to access elements of a string. The error is happening in the Game method in the gateway.py file of the selfcord library. This method is trying to access the name key of the item variable, but item is a string, not a dictionary or list. This could be due to a change in the data being returned by the Discord API, or it could be a bug in the selfcord library. The error described by ChatGpt. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What version of selfcord are you using, I recall fixing this issue some time back. |
Beta Was this translation helpful? Give feedback.
-
Please update it to our latest version, we're on 0.1.7 |
Beta Was this translation helpful? Give feedback.
Please update it to our latest version, we're on 0.1.7