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
polyzium
polyziumOP3y ago
@earth's god @earth's bird
Dumb Bird
Dumb Bird3y ago
👍
polyzium
polyziumOP2y ago
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
TermBot
TermBot2y ago
bot.go
commands.go
config.yaml
go.mod
go.sum
LICENSE
main.go
README.md
reverse_test.txt
terminal.go
bot.go
commands.go
config.yaml
go.mod
go.sum
LICENSE
main.go
README.md
reverse_test.txt
terminal.go
no reversecolorreverseback to normalno color
no reversecolorreverseback to normalno color
polyzium
polyziumOP2y ago
Huh, well this is quite broken in exec exec never really does any kind of color handling
polyzium
polyziumOP2y ago
No description
polyzium
polyziumOP2y ago
No description
polyzium
polyziumOP2y ago
Neofetch :)
No description
polyzium
polyziumOP2y ago
I know, goofy ahh color palette. Gonna start working on the accounts system
anic17
anic172y ago
Nice let me know when you do some changes
polyzium
polyziumOP2y ago
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
anic17
anic172y ago
What implications does this have
polyzium
polyziumOP17mo ago
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 ^^
anic17
anic1717mo ago
And how did it go
polyzium
polyziumOP14mo ago
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
polyzium
polyziumOP14mo ago
Diff, for those interested
polyzium
polyziumOP13mo ago
apply on top of origin/master ^^^ No longer relevant, it has been pushed to the repo
Want results from more Discord servers?
Add your server