this post was submitted on 09 Sep 2024
13 points (100.0% liked)

Selfhosted

39937 readers
507 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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

all 15 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 month ago (1 children)

Just curious: If you're willing to use Discord, why not Google?

[–] [email protected] 8 points 1 month ago (3 children)

good question. friends use discord.

[–] [email protected] 1 points 1 month ago

Beeper + a python script could get this done

[–] [email protected] 0 points 1 month ago* (last edited 1 month ago)

I get that.

Honestly, though I'm still a little puzzled as to why people initially got into Discord; I never did.

I can understand why people wanted to use some systems. Twitter does massive-scale real-time indexing. That was a huge feature, really changed what one could do on the platform.

Reddit provided a good syntax (Markdown), had a low barrier to entry (no email verification at a time when that was common), and third-party client access. It solved the spam problem that was killing Usenet and permitted for more-reasonable moderation.

There were a whole host of services that aimed to lower the complexity bar to get a web page and some content online associated with someone's identity; it was clear that lack of technical knowledge and the technical knowledge required to get stuff up was a real limiting factor for many people.

But I just didn't really get where Discord provided much of a win over stuff like IRC. I mean, I guess maybe it bundled a couple services into one, which maybe lowered the bar to use a bit. IRC really seemed pretty fine to me. Reddit bundling image-hosting seems to have lowered the bar, been something that people wanted. Maybe Discord doing images and file-hosting made it more-accessible.

I have no idea why a number of people who liked Cataclysm: Dark Days Ahead used Discord rather than Reddit; it seemed like a dramatically-worse system if one was aiming to create material for others to look back at and refer to.

kagis

https://old.reddit.com/r/RedditForGrownups/comments/t417q1/can_someone_please_explain_discord_to_me_like_im/

It’s just modern day IRC with video.

Ahaha, thanks. This is indeed an ELI60 response, although it doesn't really explain how Discord suddenly got so popular. But if I couple this with /u/Healthy-Car-1860's response, I'm kind of getting the picture.

Got popular because it spread through the entire gamer/twitch community like wildfire due to actually being a more complete package and easier to use than anything prior. Online gamers have been struggling with voip software forever (Roger Wilco, Teamspeak, Ventrilo, Skype, and many others).

Once it was rooted in the people who are on their computers app day every day it was bound to spread because the UX is incredibly easy compared to previous options for both chat and voip.

Maybe that's it. I never had a lot of interest in VoIP, especially group VoIP. When I was playing online games much, people used keyboards to communicate, not mics. There was definitely a period where people needed the ability to collaborate in games and games didn't always provide that functionality. I remember people complaining about Teamspeak and Ventrilo. I briefly poked at Mumble -- nice to have an open-source option -- but I just had no reason to want to do VoIP with groups of people.

But I suppose for a video game clan or something, that might be important functionality. And if it's also a one-stop shop for some other things that you might want to do anyway, it maybe makes sense to just use that rather than multiple services.

[–] [email protected] 8 points 1 month ago (1 children)

It is likely not worth your effort as whatever you come up with will likely result in discord deactivating your account for breaking their ToS, or them breaking their API forcing you to constantly play catch-up.

This is why open communication protocols are so important. Email is still as ubiquitous as it is because it's a protocol, not an API.

I personally think it would be less overall effort to get your friends to switch to an open protocol like matrix, or XMPP than it would playing cat and mouse with proprietary APIs. But you do you, I wish you the best of luck!

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

https://github.com/matrix-org/matrix-appservice-discord

It looks like there's software to bridge it to Matrix. I have no idea whether that violates ToS. It does look like it's getting development, though, so I can't imagine that Discord has been cutting people off en masse for using it.

[–] [email protected] 4 points 1 month ago

you can't access your own account. you can have a bot sit in the server and read messages, but after a certain number of joined servers you will need approval from discord to continue.

[–] [email protected] 3 points 1 month 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.

[–] [email protected] 2 points 1 month ago

Self-boting is against ToS. You have to be careful when interacting with the Discord API. Maybe there is a way to run the discord website to fetch text messages.

[–] [email protected] 2 points 1 month ago (2 children)

Mautrix Discord (look it up)

[–] [email protected] 2 points 1 month ago

Oh yea I forgot about matrix. Maybe setting up a bridge would work. Thanks for the reminder I'll look into this

[–] [email protected] 1 points 1 month ago (1 children)
[–] [email protected] 1 points 1 month ago
[–] [email protected] 2 points 1 month ago

Discord recently added "user installable apps". You can configure it though the installation context. I have only implemented the usual server installable apps so far, so I don't know what the apps in the new context are able to do. But it might be worth a look :)