i have been trying to get this options = options thing to work for ages but i am having troubles and i have no idea as to what i did ur there are no red or green underlines or anything else that suggest i missed typed. what am i doing wrong can people help? this is what it comes up with when i run…
Ignoring exception in on_message
Traceback (most recent call last):
File “/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py”, line 343, in _run_event
await coro(*args, **kwargs)
File “main.py”, line 78, in on_message
options = options + db[“words”]
TypeError: can only concatenate list (not “ObservedList”) to list
I ran to this error the other day,
Try typing the db query
options = options + list( db["words"] )
so that it concatenate list to list.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.