MUD <-> Discord bridge #85
november-kilo
started this conversation in
General
Replies: 2 comments
-
|
It would be better to write the Discord bot as an external program that connects to the MUD on a socket, so that input arrives as a proper event through |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks. I scrapped the kfuns and connected the bot on a socket. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wrote a Discord bot to bridge our MUD and Discord. Going from the MUD to Discord seems straightforward, but the reverse is not immediately apparent to me. The latter isn't necessary because we want the MUD to post to Discord, so I have yet to think about it, but that might change. I assume a
call_out()or continuation into a queue, but I haven't tried anything. In the meantime, I wanted to ask for thoughts in general or about handlinglpc_ext_read()when it has nothing to read in particular.I wrote the bot using concord: https://github.com/cogmasters/concord
The bot and the kfun extensions are here: november-kilo/cloud-server@6e65d8a
Beta Was this translation helpful? Give feedback.
All reactions