Skip to content

Commit ac4d59d

Browse files
OfficialSirHsdanialrazaJiralite
authored
feat(RPC): types (#1200)
* feat: rpc types Co-authored-by: Danial Raza <[email protected]> * feat: complete documented types Co-authored-by: Danial Raza <[email protected]> * feat: implement all of the interfaces and documented types Co-authored-by: Danial Raza <[email protected]> * chore: minor type changes * feat: type changes * feat: shortcut and relationship types * feat: more types * fix: subscribe args types should be truly empty types * feat: more types * types: lobby/achievement stuff * types: now I remove the lobby types * types: now I remove the lobby types * chore: totally didn't forget this * fix: lol * types: forgor to test out these undocumented types * Update rpc/v10.ts Co-authored-by: Jiralite <[email protected]> * chore: suggested changes * chore: requested changes --------- Co-authored-by: Danial Raza <[email protected]> Co-authored-by: Jiralite <[email protected]>
1 parent d12dcb1 commit ac4d59d

File tree

6 files changed

+6246
-0
lines changed

6 files changed

+6246
-0
lines changed

deno/payloads/v10/oauth2.ts

+12
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,18 @@ export enum OAuth2Scopes {
6969
* For local rpc server access, this allows you to control a user's local Discord client - requires Discord approval
7070
*/
7171
RPC = 'rpc',
72+
/**
73+
* For local rpc server access, this allows you to update a user's activity - requires Discord approval
74+
*/
75+
RPCActivitiesWrite = 'rpc.activities.write',
76+
/**
77+
* For local rpc server access, this allows you to read a user's voice settings and listen for voice events - requires Discord approval
78+
*/
79+
RPCVoiceRead = 'rpc.voice.read',
80+
/**
81+
* For local rpc server access, this allows you to update a user's voice settings - requires Discord approval
82+
*/
83+
RPCVoiceWrite = 'rpc.voice.write',
7284
/**
7385
* For local rpc server api access, this allows you to receive notifications pushed out to the user - requires Discord approval
7486
*/

0 commit comments

Comments
 (0)