I am trying to not use any Google services for notifications and so I’d like to make a script to send notifications via ntfy based on discord messages.

How would I get access programmatically to my own discord account? Do they even support it? They have bots, but is their api for DMs?


Edit: the solution may just be a bot in servers, then not responding to DMs unless they use signal

  • TheButtonJustSpins@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Check out Discord’s Webhooks; many applications publish notifications through them. Should be as easy as sending a message to a specific URL, I think.