Termbot
A bot that provides a fully fledged terminal emulator inside a Discord chat message.
This is the thread for https://github.com/polyzium/termbot, all feature requests go here.
17 Replies
@earth's god @earth's bird
👍
Holy crap it actually works
inside a forum thread
$w\n
can't delete messages though oh well
@earth's bird I managed to fix reverse video after all of those months
Will push a commit soon
Huh, well this is quite broken in exec
exec never really does any kind of color handling
Neofetch :)
I know, goofy ahh color palette.
Gonna start working on the accounts system
Nice let me know when you do some changes
I just started working on them lmao
I just realized
I haven't done any kind of syncing mechanism for the bot
No mutex no nothing
What implications does this have
Sometimes the screen does not update
and I believe this is caused by concurrent access to a pointer
Race conditions might occur
This is why I need a mutex
I did exactly that ^^
And how did it go
I guess it;s a bit better in terms of async handling
@earth's god if you're still following... I moved the color code to be per-terminal instead of per-user, but the code needs to be refined, I probably wrote spaghetti here
Diff, for those interested
apply on top of origin/master
^^^ No longer relevant, it has been pushed to the repo