Trying to run chatbot on Discord but get AttributeError: type object 'ChatBot' has no attribute 'request'
The discord bot comes online but when I try talking to the chat bot using "$prototypebot" on Discord it throws up this error message on my console: Ignoring exception in on_message Traceback (most recent call last): File "C:\Users\amjad\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\discord\client.py", line 343, in _run_event await coro(*args, **kwargs) File "C:\Users\amjad\OneDrive\Documents\Goldsmiths\Year 3\Final Year\Project\Chatterbot\main.py", line 66, in on_message response =… Read More Trying to run chatbot on Discord but get AttributeError: type object 'ChatBot' has no attribute 'request'