Naozumi520 / Remedy

Unofficial Discord Overlay support for macOS, support both x86 and arm64!
MIT License
33 stars 6 forks source link

Feature Request: Detect which VC your in + Change location of overlay widget #3

Closed iCraft85 closed 2 years ago

iCraft85 commented 2 years ago

Is it possible to make the app detect if your in a voice call and if you are it will only then display the widget and will display the widget for that voice, also is it possible to add an ability to change the location of the widget?

Naozumi520 commented 2 years ago

More research needed πŸ˜‹ I'll see if it's possible to catch the info from the discord app

kailred commented 2 years ago

Seconding this! Thanks so much for this, it runs simply and easily. I would love to be able to adjust the position of the overlay, currently it defaults to the top left corner of my laptop screen, and I would like to be able to move it to my second monitor.

Thanks again for this!

Naozumi520 commented 2 years ago

Sorry for not replying for a long time, because I have been very busy these days with the school stuffs and other things. So after some research, the only way I found to detect if user joined a channel is logging in with discord.js with a user token. However, it could against the Discord TOS as it's part of selfbot. But as but as far as I know there's no such things like detect selfbot hosting and things like betterDiscord. In other hand the code I've test is only related to voiceStateUpdate and won't send any messages. I've recorded a video and please let me know if it's a good way to go and can be accepted.

And for kailred's request I'm afraid that I can't do much about it because I have no idea how to let the user specific the position yet. Please let know if you have any ideas for it.

And thank you for liking my project, I didn't even know it could be better as first I just made it to compensate for the inconvenience I got while streaming on macOS πŸ˜‹

I'll keep updating if I make any progress!

iCraft85 commented 2 years ago

So with your first point, I don't really know much about how you would check any other way appart from that so I can't really help with that but with your second point I would like to know how you are setting the position of the overlay cuz if your doing it based on a coordinate system then you could have like 2 little boxes which let you tweak the X and Y coordinate which in my opinion is not the most elegant solution but it is a solution none the less.

Naozumi520 commented 2 years ago

πŸ˜†I've created a method to allow you pin the overlay to anywhere even in the second monitor!

θž’εΉ•ζˆͺεœ– 2022-07-12 δΈ‹εˆ3 44 56

In the future version you could Unpin the overlay and drag it to to the place you want for. After that just switch it back to "Pin" then it will always in the place u pinned for even relaunch the application!

kailred commented 2 years ago

thank you for your hard work! keep it up!

Naozumi520 commented 2 years ago

Thanks! I've just release the new version! Please let me know if it's working properly.

Naozumi520 commented 2 years ago

Close as required feature was added. Reopen this request if you encounter any issues.