Spyke
perchance·Perchance - Create a Random Text GeneratorbyEric9082

AI character chat - MessageAdded event

I see that there has been an update and the memories feature is back in. Nice. However, the MessageAdded event in my custom code is now not getting executed. I added a console.log as the first line in the handler:

oc.thread.on("MessageAdded", async function({ message }) {
console.log("----------message added-------------");

And it is not getting triggered any more. It was working and I haven't changed the code. Has this changed or is this maybe a bug? Thanks!

View original on lemmy.world

I just tested and it seems to be working for me. Could you DM me a link to a character that has this issue? You can remove all irrelevant details, of course - e.g. description, image, etc. - just make sure to test that it's still not working once you've trimmed out all those details. Note that the "character share link" feature doesn't share any chats - only the character itself.

1

You reached the end

AI character chat - MessageAdded event | Spyke