Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enigma Rest API #546

Open
biggiecheesetherat opened this issue Aug 12, 2024 · 2 comments
Open

Enigma Rest API #546

biggiecheesetherat opened this issue Aug 12, 2024 · 2 comments

Comments

@biggiecheesetherat
Copy link

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?

@NuSkooler
Copy link
Owner

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).

@cognitivegears
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants