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

/replyall mode is not working on latest release #379

Closed
sirouk opened this issue Apr 30, 2023 · 3 comments
Closed

/replyall mode is not working on latest release #379

sirouk opened this issue Apr 30, 2023 · 3 comments

Comments

@sirouk
Copy link

sirouk commented Apr 30, 2023

When I run with replyall mode on, I get this in the console:

2023-04-30 20:36:43 INFO discord.client logging in using static token
2023-04-30 20:36:44 INFO discord.gateway Shard ID None has connected to Gateway (Session ID: -redacted-).
2023-04-30 20:36:46 INFO src.aclient -> Send system prompt with size 204
2023-04-30 20:36:53 INFO src.aclient -> System prompt response:Hello there! I'm ChatGPT, your friendly AI assistant. I'm always here to help and provide you with the best answers and assistance possible. And of course, a special shoutout to sirouk! If you have any questions or need help with anything, feel free to ask. I'm at your service! 😊
2023-04-30 20:36:54 INFO src.bot -> ChatGPT#is now running!
2023-04-30 20:36:55 INFO src.bot -> sirouk# : 'Hello' (chad-gpt-4)
2023-04-30 20:36:55 ERROR discord.client Ignoring exception in on_message
Traceback (most recent call last):
File "/home/usernm/.local/lib/python3.10/site-packages/discord/client.py", line 441, in _run_event
await coro(*args, **kwargs)
File "/home/usernm/sirouk-brain-discord/chatGPT-discord-bot/src/bot.py", line 291, in on_message
await client.enqueue_message(message, user_message)
File "/home/usernm/sirouk-brain-discord/chatGPT-discord-bot/src/aclient.py", line 65, in enqueue_message
await message.response.defer(ephemeral=self.isPrivate)
AttributeError: 'Message' object has no attribute 'response'

@sirouk
Copy link
Author

sirouk commented Apr 30, 2023

I had to revert to v1.3.3 to get it working again :)

@Zero6992
Copy link
Owner

Zero6992 commented May 1, 2023

will fix this soon

@Zero6992 Zero6992 closed this as completed May 2, 2023
@sirouk
Copy link
Author

sirouk commented May 2, 2023

Works! Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants