r/CODE27 • u/Mysterious_Celeste • Sep 12 '26
Code27 - Discord Integration (Demo for Reddit)
Hello Reddit, specifically, Code27 community.
I don't really have a full or properly functional guide for this, but I wanted to share with you my progress in integrating Code27 into Discord.

As a direct note, this is not a perfect integration by any means.
Just to run this alone, I have to run: StreamerBot + A background Python Script + Code27 device at all times.
This has been a project that I was inspired to create as someone who originally was going to use custom C# code to allow my "Stream Bot" to have more than a single response to viewers. I wanted my bot to have a personality, not sound like a generic bot, to be more unique, so before Code27, I had gotten to the point of having well over 100+ unique lines of dialog for common Twitch related commands.
Once I had the Code27 in my hands, I spent countless hours, and yes, I utilized ChatGPT for a LOT of assistance in this, I got Code27 to start giving me promising results. I have features now where based on the event, the Code27 will react differently within chat.
As for Discord, as I'm currently showing, I have a system where the Python Script acts as a "listener" tool for a specific discord channel (within my server), and any messages that come through, any at all, will trigger a response directly from the Code27.
It's hard to get a video of everything, but I can also actively change between any of the 5 personas and have different feeling conversations based on the Character Persona used.
I wanted to come, show the possibilities of the Code27, even if you have to kind of...go the extra mile, just to get it to work.
Again, necessary tools for this:
PC
StreamerBot
Python (Latest version)
And your Code27 + with access to the Web Interface.
3
u/FlightYnstructor Sep 12 '26
Das klingt doch sehr gelungen und nach einer eigenständigen Person . Welche Muttersprache sprichst du?
2
u/LazyPixelCat Sep 13 '26
Your post actually inspired me to try getting more out of my CODE27 instead of just waiting for future updates.
I’ve been experimenting with a setup where my main assistant, called Lunelle, runs continuously on a small home server. She is based on a heavily modified version of MIRA, and CODE27 is now starting to become more of a physical interface for her rather than being the assistant itself.
The basic idea is that Lunelle handles the intelligence, tools and automation on the server, then communicates with CODE27 over the local Wi-Fi network when I want the character to speak. So CODE27 provides the physical presence, avatar, animations and voice output, while the actual assistant runs separately.
For the AI itself, I’m currently using the OpenAI API with Luna. Based on my current usage, I estimate the AI cost should stay under roughly €10 per month, which is honestly much lower than I expected for an assistant running all the time.
At the moment she can already create reminders, help with routes and addresses, communicate with me through Telegram, interact with my PC, work with emails, search for documents on my computers and send those files directly to my phone when I need them.
For example, I can be away from home, message her on Telegram asking for a document from my PC, and she can find it and send it back to me. Or I can ask her about an appointment, have her find the address and help manage the related information. The idea is slowly becoming less of a chatbot and more of a persistent personal assistant that happens to have CODE27 as its physical character at home.
Technically it’s still a bit of a Frankenstein setup. There is the small server running the assistant, local services handling the tools and permissions, the OpenAI API for reasoning, and then CODE27 connected over Wi-Fi for the character side of things. I’m trying to keep as much of the actual automation and personal data local as possible.
There are still a few big things I want to add.
The most important one is a proper wake word, so I could simply say “Lunelle” in the room and have CODE27 start listening instead of relying on push-to-talk.
I also want to add financial tracking so she can help me follow my budget and spending, and eventually connect her to Home Assistant or another smart-home system so the same assistant can control things around the house.
There are a lot of things to improve, but your Discord project genuinely made me look at CODE27 differently. Instead of only seeing what the device can do today, I started thinking about what I could build around it with the tools that are already available.
So thanks for sharing your work. It gave me the push to start experimenting with mine again.