Open cyyynthia opened 4 years ago
So a problem with this would be the whole discord application thing they have going on. You would need to make an application for each, or have to have one static image that persists through all. If you go through the multiple application route, you would hit maximum applications. I don’t think this would work very well, but it is a good idea. @cyyynthia
This is a bit late, but you could have a single application showing "Playing a game through Powercord" and then have the State and Details change per-game. It wouldn't have images, but that would likely be fine. Would be especially useful for games that have lobbies but not RPC, and the user could enter their game invite code (e.g. Among Us code) on the State or Details.
If something like this is done, it shouldn't show "through powercord". Seeing as powercord is against TOS, maybe it's not the best idea to tell everyone you break TOS in your status.
I like the idea, I wouldn't use it for all games/applications, just some that I think would be cool to show on Discord
So a problem with this would be the whole discord application thing they have going on. You would need to make an application for each, or have to have one static image that persists through all. If you go through the multiple application route, you would hit maximum applications. I don’t think this would work very well, but it is a good idea. @cyyynthia
Pretty sure you can create a team to get around that, or even multiple if teams have limits. As I do not believe those applications are considered in your personal application count. For this to work well each game should have it's own application really. (and should not mention Powercord)
Discord now supports image url in the presence, i think it should be okay now to create this with one application like "Playing a Game" and not "Playing CSGO" which yes will need to create a lot of applications, also details could show the game name (icon too) and use state with something like "in: Game Lobby"
I made a small draft of how it could work and will begin trying to work it out, let me know if there's anything that could/should be done differently.
Edit: application name is "Playing a game"
I have a working demo now, that currently works on 2 applications. The plugin checks every 15 seconds. To have the program detected you have to have it added under the "Activity Status" tab in your discord settings. I'm not sure how to pull up specific details though, as I'd have to tie in directly into the game, which is practically undoable for a simple plugin, and would probably require dedicated software. While yes, it can be done, it would take a lot of time to create game specific details, with extremely varying results. While something like among us is possible with dedicated software, other games aren't.
On another note, what programs/games do you guys want presences for? That way I can start adding image URLs for them
The plugin checks every 15 seconds.
this sounds bad.
The plugin checks every 15 seconds.
this sounds bad.
It doesn't lag the client in any way, also I could add an option for the interval time. It also doesn't seem to be any slower than discords own detection speed for games, as that can take several seconds as well. If you still dislike it though, what would you suggest?
inject into discords method of checking for games so you're not adding more unneeded setIntervals
Description
Not all games have Rich Presence implemented (like CS:GO), but who said it's a reason to not have RP? When a game that don't support RP (but supported by the new plugin) is detected, it should set a rich presence with relevant content