@discordjs/rpc 0.2.0-dev.1794009739-5bb74922a → 1.0.0-dev.1794787379-57db0bb10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/RPCEventError.d.ts +7 -0
- package/dist/RPCEventError.d.ts.map +1 -0
- package/dist/RPCEventError.js +16 -0
- package/dist/RPCEventError.js.map +1 -0
- package/dist/client.d.ts +244 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +443 -0
- package/dist/client.js.map +1 -0
- package/dist/constants.d.ts +175 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +6 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +7 -461
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -687
- package/dist/index.js.map +1 -1
- package/dist/ipc.d.ts +36 -0
- package/dist/ipc.d.ts.map +1 -0
- package/dist/ipc.js +170 -0
- package/dist/ipc.js.map +1 -0
- package/dist/util.d.ts +4 -0
- package/dist/util.d.ts.map +1 -0
- package/dist/util.js +26 -0
- package/dist/util.js.map +1 -0
- package/package.json +3 -5
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RPCErrorCodes, RPCErrorDispatchData } from 'discord-api-types/v10';
|
|
2
|
+
export declare class RPCEventError extends Error {
|
|
3
|
+
code?: RPCErrorCodes;
|
|
4
|
+
data?: RPCErrorDispatchData;
|
|
5
|
+
constructor(data: RPCErrorDispatchData | string);
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=RPCEventError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RPCEventError.d.ts","sourceRoot":"","sources":["../src/RPCEventError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEjF,qBAAa,aAAc,SAAQ,KAAK;IAChC,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAEnC,YAAmB,IAAI,EAAE,oBAAoB,GAAG,MAAM,EAUrD;CACD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export class RPCEventError extends Error {
|
|
2
|
+
code;
|
|
3
|
+
data;
|
|
4
|
+
constructor(data) {
|
|
5
|
+
if (typeof data === 'string') {
|
|
6
|
+
super(data);
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
super(data.message);
|
|
10
|
+
this.code = data.code;
|
|
11
|
+
this.data = data;
|
|
12
|
+
}
|
|
13
|
+
this.name = 'RPCEventError';
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=RPCEventError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RPCEventError.js","sourceRoot":"","sources":["../src/RPCEventError.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,aAAc,SAAQ,KAAK;IAChC,IAAI,CAAiB;IAErB,IAAI,CAAwB;IAEnC,YAAmB,IAAmC;QACrD,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;YAC9B,KAAK,CAAC,IAAI,CAAC,CAAC;QACb,CAAC;aAAM,CAAC;YACP,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACpB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACtB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAClB,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAC7B,CAAC;CACD"}
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { AsyncEventEmitter } from '@vladfrangu/async_event_emitter';
|
|
2
|
+
import type { RPCCertifiedDevice, RPCCreateChannelInviteResultData, RPCGetChannelResultData, RPCGetChannelsResultData, RPCGetGuildResultData, RPCGetGuildsResultData, RPCGetImageArgs, RPCGetVoiceSettingsResultData, RPCOAuth2Application, RPCSelectTextChannelArgs, RPCSelectTextChannelResultData, RPCSelectVoiceChannelArgs, RPCSelectVoiceChannelResultData, RPCSetActivityArgs, RPCSetCertifiedDevicesResultData, RPCSetUserVoiceSettingsArgs, RPCSetUserVoiceSettingsResultData, RPCSetVoiceSettingsArgs, RPCUnsubscribeResultData, APIUser, OAuth2Scopes, Snowflake, RPCCommandSubscribePayload, RPCSubscribeResultData } from 'discord-api-types/v10';
|
|
3
|
+
import { RPCEvents, RPCCommands } from 'discord-api-types/v10';
|
|
4
|
+
import type { EventAndArgsParameters, MappedRPCCommandsArgs, MappedRPCCommandsResultsData, MappedRPCEventsDispatchData, RPCCallableCommands } from './constants.js';
|
|
5
|
+
import { IPCTransport } from './ipc.js';
|
|
6
|
+
export interface RPCClientOptions {
|
|
7
|
+
/**
|
|
8
|
+
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant
|
|
9
|
+
*
|
|
10
|
+
* for authorization requests
|
|
11
|
+
*/
|
|
12
|
+
prompt?: 'consent' | 'none';
|
|
13
|
+
/**
|
|
14
|
+
* https://discord.com/developers/docs/topics/oauth2#authorization-code-grant
|
|
15
|
+
*
|
|
16
|
+
* for authorization requests
|
|
17
|
+
*/
|
|
18
|
+
redirectUri?: string;
|
|
19
|
+
/**
|
|
20
|
+
* An array of scopes
|
|
21
|
+
*/
|
|
22
|
+
scopes?: OAuth2Scopes[];
|
|
23
|
+
/**
|
|
24
|
+
* the client username
|
|
25
|
+
*/
|
|
26
|
+
username?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface RPCLoginOptions {
|
|
29
|
+
/**
|
|
30
|
+
* Access Token
|
|
31
|
+
*/
|
|
32
|
+
accessToken?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Client id
|
|
35
|
+
*/
|
|
36
|
+
clientId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Client Secret
|
|
39
|
+
*/
|
|
40
|
+
clientSecret?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface RequestOptions {
|
|
43
|
+
signal?: AbortSignal;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The client for interacting with Discord RPC
|
|
47
|
+
*/
|
|
48
|
+
export declare class RPCClient extends AsyncEventEmitter<MappedRPCEventsDispatchData> {
|
|
49
|
+
#private;
|
|
50
|
+
options: RPCClientOptions;
|
|
51
|
+
accessToken: string;
|
|
52
|
+
clientId: string;
|
|
53
|
+
clientSecret: string;
|
|
54
|
+
readyTimestamp: number | null;
|
|
55
|
+
application: RPCOAuth2Application | null;
|
|
56
|
+
user: APIUser | null;
|
|
57
|
+
/**
|
|
58
|
+
* The transport for the IPC
|
|
59
|
+
*/
|
|
60
|
+
transport: IPCTransport;
|
|
61
|
+
constructor(options?: RPCClientOptions);
|
|
62
|
+
/**
|
|
63
|
+
* Returns the Date for when the client became ready
|
|
64
|
+
*/
|
|
65
|
+
get readyAt(): Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the client is currently ready
|
|
68
|
+
*/
|
|
69
|
+
get ready(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Search and connect to RPC
|
|
72
|
+
*/
|
|
73
|
+
connect(options?: RequestOptions): Promise<RPCClient>;
|
|
74
|
+
/**
|
|
75
|
+
* Performs authentication flow. Automatically calls Client#connect if needed.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* logging in with a client id and secret
|
|
79
|
+
* ```ts
|
|
80
|
+
* client.login({ clientId: '1234567', clientSecret: 'abcdef123' });
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
login({ clientId, clientSecret, accessToken }: RPCLoginOptions, options?: RequestOptions): Promise<RPCClient>;
|
|
84
|
+
/**
|
|
85
|
+
* Request
|
|
86
|
+
*
|
|
87
|
+
* @param cmd - Command
|
|
88
|
+
* @param args - Arguments
|
|
89
|
+
* @param evt - Event
|
|
90
|
+
*/
|
|
91
|
+
request<Cmd extends RPCCallableCommands = RPCCallableCommands>(cmd: Cmd, args?: MappedRPCCommandsArgs[Cmd], options?: RequestOptions & {
|
|
92
|
+
evt?: RPCEvents;
|
|
93
|
+
}): Promise<MappedRPCCommandsResultsData[Cmd]>;
|
|
94
|
+
request(cmd: RPCCommands.Subscribe | RPCCommands.Unsubscribe, args: RPCCommandSubscribePayload['args'], options: RequestOptions & {
|
|
95
|
+
evt: RPCEvents;
|
|
96
|
+
}): Promise<RPCSubscribeResultData | RPCUnsubscribeResultData>;
|
|
97
|
+
/**
|
|
98
|
+
* Authorize
|
|
99
|
+
*
|
|
100
|
+
* @param args - authorize args
|
|
101
|
+
*/
|
|
102
|
+
private authorize;
|
|
103
|
+
/**
|
|
104
|
+
* Authenticate
|
|
105
|
+
*
|
|
106
|
+
* @param accessToken - access token
|
|
107
|
+
*/
|
|
108
|
+
authenticate(accessToken: string, options?: RequestOptions): Promise<this>;
|
|
109
|
+
/**
|
|
110
|
+
* Fetch a guild
|
|
111
|
+
*
|
|
112
|
+
* @param id - Guild id
|
|
113
|
+
* @param timeout - Timeout request
|
|
114
|
+
*/
|
|
115
|
+
getGuild(id: Snowflake, timeout: number, options?: RequestOptions): Promise<RPCGetGuildResultData>;
|
|
116
|
+
/**
|
|
117
|
+
* Fetch all guilds
|
|
118
|
+
*
|
|
119
|
+
* @param timeout - Timeout request
|
|
120
|
+
*/
|
|
121
|
+
getGuilds(timeout: number, options?: RequestOptions): Promise<RPCGetGuildsResultData>;
|
|
122
|
+
/**
|
|
123
|
+
* Get a channel
|
|
124
|
+
*
|
|
125
|
+
* @param id - Channel id
|
|
126
|
+
*/
|
|
127
|
+
getChannel(id: Snowflake, options?: RequestOptions): Promise<RPCGetChannelResultData>;
|
|
128
|
+
/**
|
|
129
|
+
* Get all channels
|
|
130
|
+
*
|
|
131
|
+
* @param id - Guild id
|
|
132
|
+
*/
|
|
133
|
+
getChannels(id: Snowflake, options?: RequestOptions): Promise<RPCGetChannelsResultData['channels']>;
|
|
134
|
+
/**
|
|
135
|
+
* Create channel invite
|
|
136
|
+
*
|
|
137
|
+
* @param id - Channel id
|
|
138
|
+
*/
|
|
139
|
+
createChannelInvite(id: Snowflake, options?: RequestOptions): Promise<RPCCreateChannelInviteResultData>;
|
|
140
|
+
/**
|
|
141
|
+
* Tell discord which devices are certified
|
|
142
|
+
*
|
|
143
|
+
* @param devices - Certified devices to send to discord
|
|
144
|
+
*/
|
|
145
|
+
setCertifiedDevices(devices: RPCCertifiedDevice[], options?: RequestOptions): Promise<RPCSetCertifiedDevicesResultData>;
|
|
146
|
+
/**
|
|
147
|
+
* Set the voice settings for a user, by id
|
|
148
|
+
*
|
|
149
|
+
* @param id - Id of the user to set
|
|
150
|
+
* @param settings - Settings to set
|
|
151
|
+
*/
|
|
152
|
+
setUserVoiceSettings(id: Snowflake, settings: Omit<Partial<RPCSetUserVoiceSettingsArgs>, 'user_id'>, options?: RequestOptions): Promise<RPCSetUserVoiceSettingsResultData>;
|
|
153
|
+
/**
|
|
154
|
+
* Move the user to a voice channel
|
|
155
|
+
*
|
|
156
|
+
* @param id - Id of the voice channel
|
|
157
|
+
* @param args - select voice channel args
|
|
158
|
+
* @param options - request options
|
|
159
|
+
*/
|
|
160
|
+
selectVoiceChannel(id: Snowflake, args?: Omit<RPCSelectVoiceChannelArgs, 'channel_id'>, options?: RequestOptions): Promise<RPCSelectVoiceChannelResultData>;
|
|
161
|
+
/**
|
|
162
|
+
* Move the user to a text channel
|
|
163
|
+
*
|
|
164
|
+
* @param id - Id of the text channel
|
|
165
|
+
* @param args - select text channel args
|
|
166
|
+
* @param options - request options
|
|
167
|
+
*/
|
|
168
|
+
selectTextChannel(id: Snowflake, args?: Omit<RPCSelectTextChannelArgs, 'channel_id'>, options?: RequestOptions): Promise<RPCSelectTextChannelResultData>;
|
|
169
|
+
/**
|
|
170
|
+
* Get current voice settings
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
getVoiceSettings(options?: RequestOptions): Promise<RPCGetVoiceSettingsResultData>;
|
|
174
|
+
/**
|
|
175
|
+
* Set current voice settings, overriding the current settings until this session disconnects.
|
|
176
|
+
* This also locks the settings for any other rpc sessions which may be connected.
|
|
177
|
+
*
|
|
178
|
+
* @param args - Settings
|
|
179
|
+
*/
|
|
180
|
+
setVoiceSettings(args: RPCSetVoiceSettingsArgs, options?: RequestOptions): Promise<unknown>;
|
|
181
|
+
/**
|
|
182
|
+
* Sets the presence for the logged in user.
|
|
183
|
+
*
|
|
184
|
+
* @param activity - The rich presence to pass.
|
|
185
|
+
* @param pid - The application's process ID. Defaults to the executing process' PID.
|
|
186
|
+
* @remarks
|
|
187
|
+
* Clients may only update their activity 5 times per 20 seconds.
|
|
188
|
+
*/
|
|
189
|
+
setActivity(activity?: RPCSetActivityArgs['activity'], pid?: number | null, options?: RequestOptions): Promise<unknown>;
|
|
190
|
+
/**
|
|
191
|
+
* Clears the currently set presence, if any. This will hide the "Playing X" message
|
|
192
|
+
* displayed below the user's name.
|
|
193
|
+
*
|
|
194
|
+
* @param pid - The application's process ID. Defaults to the executing process' PID.
|
|
195
|
+
*/
|
|
196
|
+
clearActivity(pid?: number | null, options?: RequestOptions): Promise<unknown>;
|
|
197
|
+
/**
|
|
198
|
+
* Invite a user to join the game the RPC user is currently playing
|
|
199
|
+
*
|
|
200
|
+
* @param userId - The id of the user to invite
|
|
201
|
+
*/
|
|
202
|
+
sendJoinInvite(userId: Snowflake, options?: RequestOptions): Promise<unknown>;
|
|
203
|
+
/**
|
|
204
|
+
* Reject a join request from a user
|
|
205
|
+
*
|
|
206
|
+
* @param userId - The id of the user whose request you wish to reject
|
|
207
|
+
*/
|
|
208
|
+
closeJoinRequest(userId: Snowflake, options?: RequestOptions): Promise<unknown>;
|
|
209
|
+
/**
|
|
210
|
+
* requires `relationships.read` scope
|
|
211
|
+
*/
|
|
212
|
+
getRelationships(options?: RequestOptions): Promise<import("discord-api-types/v10").RPCGetRelationshipsResultData>;
|
|
213
|
+
/**
|
|
214
|
+
* Fetches a user
|
|
215
|
+
*/
|
|
216
|
+
getUser(id: Snowflake, options?: RequestOptions): Promise<APIUser>;
|
|
217
|
+
/**
|
|
218
|
+
* Fetches a user's profile picture
|
|
219
|
+
*/
|
|
220
|
+
getImage({ id, format, size }: Omit<RPCGetImageArgs, 'type'>, options?: RequestOptions): Promise<string>;
|
|
221
|
+
/**
|
|
222
|
+
* Subscribe to an event
|
|
223
|
+
*
|
|
224
|
+
* @param event - Name of event e.g. `MESSAGE_CREATE`
|
|
225
|
+
* @param args - Args for event e.g. `{ channel_id: '1234' }`
|
|
226
|
+
*/
|
|
227
|
+
subscribe<Evt extends RPCEvents>(...[event, args, options]: EventAndArgsParameters<Evt>): Promise<{
|
|
228
|
+
unsubscribe(): Promise<RPCUnsubscribeResultData>;
|
|
229
|
+
}>;
|
|
230
|
+
/**
|
|
231
|
+
* Unsubscribe from an event
|
|
232
|
+
*
|
|
233
|
+
* @param event - Name of event e.g. `MESSAGE_CREATE`
|
|
234
|
+
* @param args - Args for event e.g. `{ channel_id: '1234' }`
|
|
235
|
+
*/
|
|
236
|
+
unsubscribe<Evt extends RPCEvents>(...[event, args, options]: EventAndArgsParameters<Evt>): Promise<{
|
|
237
|
+
subscribe(): Promise<RPCSubscribeResultData>;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* Destroy the client
|
|
241
|
+
*/
|
|
242
|
+
destroy(): Promise<void>;
|
|
243
|
+
}
|
|
244
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,KAAK,EAGX,kBAAkB,EAClB,gCAAgC,EAChC,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,sBAAsB,EACtB,eAAe,EACf,6BAA6B,EAG7B,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,yBAAyB,EACzB,+BAA+B,EAC/B,kBAAkB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