Provide information on which client the user sent an interaction from #4491
Replies: 6 comments 6 replies
-
A really hacky workaround is to use the user's presence to see if they're online on mobile or not, but not all bots have access to presence so this would be nice, +1 |
Beta Was this translation helpful? Give feedback.
-
A field like this sent in interaction payloads would fix a symptom of a problem rather than the underlying issue of feature-parity lacking between clients. That same feature parity also allows for unique attack vectors per-client, which makes identifying the client used marginally dangerous. |
Beta Was this translation helpful? Give feedback.
-
That would block Discord from allowing third party clients in future, and also degrade user's privacy. |
Beta Was this translation helpful? Give feedback.
-
Instead of asking for "mobile" I would suggest to ask for "android" or "iOS" since both the discord apps are quite different on these two platforms. |
Beta Was this translation helpful? Give feedback.
-
Also I would suggest this idea to be allowed for slash commands, and/or provide us the user agent (for more specific information about the device). |
Beta Was this translation helpful? Give feedback.
-
Embeds aside, this is a really useful feature for devs implementing commands which use images in response. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I love the ansi codeblock highlighting that was added during hack week, sadly it looks garbage for mobile users.

Mobile also has other issues like no inline embed fields, providing which client (desktop/mobile/web) the user sent the interaction from would allow bot developers to send optimized responses which are able to account for lack of feature parity or screen sizes without having to make compromises on the user experience for desktop/mobile respectively.
The optimal implementation here would be a simple property along the lines of
"used_client": "mobile"
on the recieved interaction payload.Beta Was this translation helpful? Give feedback.
All reactions