Open biggiecheesetherat opened 1 month ago
Hi @biggiecheesetherat
There currently is not a REST-like API for these types of things. You can certainly write your own web handler (they are pluggable in enig) that could expose a endpoint.
For sending the message itself, see:
Basically, you need to get the data from Discord -> enigma (perhaps the web handler) then just pend a interrupt item to the user(s).
I think there may be a way to do this - if you use the ActivityPub branch you should be able to integrate with that like it's any other Fediverse server - not 100% integrated and that ActivityPub branch hasn't been merged yet, but may be helpful.
I am developing a Discord bot to link my BBS' accounts to their Discord account. Is there a API I can use to send messages to users?