'Message' object has no attribute 'replace'

#3
by ThisIs-Developer - opened

AttributeError: 'Message' object has no attribute 'replace'

Solution

It looks like the issue is resolved by changing res = await chain.acall(message, callbacks=[cb]) to res = await chain.acall(message.content, callbacks=[cb]) in line 86. Now we are passing only the content attribute of the message object to acall.

Updated in v2.0.3dev11012024
Github issues #9

Screenshot 2024-01-11 181157.png

Sign up or log in to comment