Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.63k stars 701 forks source link

Error When Sending Message? #305

Closed fmunim closed 1 year ago

fmunim commented 1 year ago

I updated to the newest version and I got this now:

2023-03-28 18:18:35 ERROR    src.bot -> Error while sending message: unofficial_handle_response() missing 1 required positional argument: 'client'
Traceback (most recent call last):
  File "/home/xx/xxx/src/bot.py", line 34, in send_message
    response = f"{response}{await responses.unofficial_handle_response(user_message)}"
TypeError: unofficial_handle_response() missing 1 required positional argument: 'client'
Zero6992 commented 1 year ago

What mode are you in when encountering this issue?

Maybe you could try re-cloning the entire codebase

fmunim commented 1 year ago

What mode are you in when encountering this issue?

Maybe you could try re-cloning the entire codebase

Resetting and starting anew helped thanks!