strem-app / strem

A free and open source automation tool for streamers
MIT License
49 stars 3 forks source link

Add Discord Integration #63

Open grofit opened 1 year ago

grofit commented 1 year ago

Work was done on this in a spike but almost all documentation for date is around someone making a bot for discord not interacting with the users local instance of discord.

There was the GameSDK but that was mainly about making your own chat rooms inside of a game that used discord infrastructure, although it did seem to let you setup your rich presence from within there, finally there was this one which did the RPC part to communicate with local discord for setting rich presence, but didnt have support for muting/unmuting etc, so for now its a low priority thing to investigate as it seems like the only easy thing we could implement is allowing you to update your discord status from a task.

grofit commented 1 year ago

I have raised a discussion on their API docs around opening the API up to end users to allow them to be able to do actions that the API already supports but against themselves rather than a bot:

https://github.com/discord/discord-api-docs/discussions/5533

The main problem is that even if we went down the bot route that requires 24/7 hosting with a websocket connected to react and do stuff and the responsibility of rate limiting and other related message/user checks are on you as the bot maintainer not the end users making use of it, so unless someone wants to donate a free VPS or something to host a bot this will be left in the branch for now until Discord changes its mind and lets us do API requests as an end user.