Closed joseph-holland closed 1 year ago
Awesome, thanks for sharing this! If I understand correctly: You need to keep your browser tab open for this to work, and you need to add await import("./plugins/telegram/custom.js")
to your characters custom code? (I've only skimmed the code - might be misunderstanding, but if that's correct then it might be a good idea to add that to the usage part of the readme)
If you end up improving on this, then it would also be great to have a Replit/Glitch demo so someone without much dev experience can spin up fast by just remixing/forking, and adding their token. Would also be cool to see a little video demo of it working!
First development of a plugin that allows OpenCharacters to integrate with Telegram via the bot API. I plan to support multiple chats and characters soon but for now this is the first pass that proves the concept is possible.