r6db / app

https://r6db.app
MIT License
15 stars 3 forks source link

Discord Rich Presence #14

Open BadCoder1337 opened 6 years ago

BadCoder1337 commented 6 years ago

Add Discord Rich Presence for trustly sending in-game nickname/userId for rankbots etc. Link in profile to r6tab will be fine too.

image

Siege Rich Presence useless as F

LaxisB commented 6 years ago

i'm honestly not sure how useful this would be.
rich presence is afaik read only, so bots can't use it.
even then it's questionable if a program that's only meant as companion, not main focus should write into the presence at all.

BadCoder1337 commented 6 years ago

@LaxisB bots can read user's presence image I am looking for similar scheme: user login into r6db app, app sending Rich Presence status (disableable ofc) with nickname, other discord members can open status, copy nickname and add in uplay or bot can read it when member registering in siege-rankbot. This scheme isn't secure as OAuth but more trustly than simple sending text nickname by user.

LaxisB commented 6 years ago

this usecase seems to be pretty covered by the planned api tbh.
then everyone, not just discord bots can use it. and we can give the user control over who can (not) access data.
we'd just (ab)use the presence api to broadcast the users state. they'd lose control over who can see it, since presence is global