@discordjs/core 3.0.0-dev.1737633902-687e2ae67 → 3.0.0-dev.1737763887-2cbf41800

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.
@@ -15,7 +15,7 @@ declare class ApplicationCommandsAPI {
15
15
  * @param query - The query options for fetching commands
16
16
  * @param options - The options for fetching commands
17
17
  */
18
- getGlobalCommands(applicationId: Snowflake, query?: RESTGetAPIApplicationCommandsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIApplicationCommandsResult>;
18
+ getGlobalCommands(applicationId: Snowflake, query?: RESTGetAPIApplicationCommandsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIApplicationCommandsResult>;
19
19
  /**
20
20
  * Creates a new global command
21
21
  *
@@ -24,7 +24,7 @@ declare class ApplicationCommandsAPI {
24
24
  * @param body - The data for creating the command
25
25
  * @param options - The options for creating the command
26
26
  */
27
- createGlobalCommand(applicationId: Snowflake, body: RESTPostAPIApplicationCommandsJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
27
+ createGlobalCommand(applicationId: Snowflake, body: RESTPostAPIApplicationCommandsJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
28
28
  /**
29
29
  * Fetches a global command
30
30
  *
@@ -33,7 +33,7 @@ declare class ApplicationCommandsAPI {
33
33
  * @param commandId - The command id to fetch
34
34
  * @param options - The options for fetching the command
35
35
  */
36
- getGlobalCommand(applicationId: Snowflake, commandId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
36
+ getGlobalCommand(applicationId: Snowflake, commandId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
37
37
  /**
38
38
  * Edits a global command
39
39
  *
@@ -43,7 +43,7 @@ declare class ApplicationCommandsAPI {
43
43
  * @param body - The data for editing the command
44
44
  * @param options - The options for editing the command
45
45
  */
46
- editGlobalCommand(applicationId: Snowflake, commandId: Snowflake, body: RESTPatchAPIApplicationCommandJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
46
+ editGlobalCommand(applicationId: Snowflake, commandId: Snowflake, body: RESTPatchAPIApplicationCommandJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationCommand>;
47
47
  /**
48
48
  * Deletes a global command
49
49
  *
@@ -52,7 +52,7 @@ declare class ApplicationCommandsAPI {
52
52
  * @param commandId - The id of the command to delete
53
53
  * @param options - The options for deleting a command
54
54
  */
55
- deleteGlobalCommand(applicationId: Snowflake, commandId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
55
+ deleteGlobalCommand(applicationId: Snowflake, commandId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
56
56
  /**
57
57
  * Overwrites global commands
58
58
  *
@@ -61,7 +61,7 @@ declare class ApplicationCommandsAPI {
61
61
  * @param body - The data for overwriting commands
62
62
  * @param options - The options for overwriting commands
63
63
  */
64
- bulkOverwriteGlobalCommands(applicationId: Snowflake, body: RESTPutAPIApplicationCommandsJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPutAPIApplicationCommandsResult>;
64
+ bulkOverwriteGlobalCommands(applicationId: Snowflake, body: RESTPutAPIApplicationCommandsJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPutAPIApplicationCommandsResult>;
65
65
  /**
66
66
  * Fetches all commands for a guild
67
67
  *
@@ -71,7 +71,7 @@ declare class ApplicationCommandsAPI {
71
71
  * @param query - The data for fetching commands
72
72
  * @param options - The options for fetching commands
73
73
  */
74
- getGuildCommands(applicationId: Snowflake, guildId: Snowflake, query?: RESTGetAPIApplicationGuildCommandsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIApplicationGuildCommandsResult>;
74
+ getGuildCommands(applicationId: Snowflake, guildId: Snowflake, query?: RESTGetAPIApplicationGuildCommandsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIApplicationGuildCommandsResult>;
75
75
  /**
76
76
  * Creates a new command for a guild
77
77
  *
@@ -81,7 +81,7 @@ declare class ApplicationCommandsAPI {
81
81
  * @param body - The data for creating the command
82
82
  * @param options - The options for creating the command
83
83
  */
84
- createGuildCommand(applicationId: Snowflake, guildId: Snowflake, body: RESTPostAPIApplicationGuildCommandsJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIApplicationGuildCommandsResult>;
84
+ createGuildCommand(applicationId: Snowflake, guildId: Snowflake, body: RESTPostAPIApplicationGuildCommandsJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPostAPIApplicationGuildCommandsResult>;
85
85
  /**
86
86
  * Fetches a guild command
87
87
  *
@@ -91,7 +91,7 @@ declare class ApplicationCommandsAPI {
91
91
  * @param commandId - The command id to fetch
92
92
  * @param options - The options for fetching the command
93
93
  */
94
- getGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIApplicationGuildCommandResult>;
94
+ getGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIApplicationGuildCommandResult>;
95
95
  /**
96
96
  * Edits a guild command
97
97
  *
@@ -102,7 +102,7 @@ declare class ApplicationCommandsAPI {
102
102
  * @param body - The data for editing the command
103
103
  * @param options - The options for editing the command
104
104
  */
105
- editGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, body: RESTPatchAPIApplicationGuildCommandJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPatchAPIApplicationGuildCommandResult>;
105
+ editGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, body: RESTPatchAPIApplicationGuildCommandJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPatchAPIApplicationGuildCommandResult>;
106
106
  /**
107
107
  * Deletes a guild command
108
108
  *
@@ -112,7 +112,7 @@ declare class ApplicationCommandsAPI {
112
112
  * @param commandId - The id of the command to delete
113
113
  * @param options - The options for deleting the command
114
114
  */
115
- deleteGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
115
+ deleteGuildCommand(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
116
116
  /**
117
117
  * Bulk overwrites guild commands
118
118
  *
@@ -122,7 +122,7 @@ declare class ApplicationCommandsAPI {
122
122
  * @param body - The data for overwriting commands
123
123
  * @param options - The options for overwriting the commands
124
124
  */
125
- bulkOverwriteGuildCommands(applicationId: Snowflake, guildId: Snowflake, body: RESTPutAPIApplicationGuildCommandsJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPutAPIApplicationGuildCommandsResult>;
125
+ bulkOverwriteGuildCommands(applicationId: Snowflake, guildId: Snowflake, body: RESTPutAPIApplicationGuildCommandsJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPutAPIApplicationGuildCommandsResult>;
126
126
  /**
127
127
  * Fetches the permissions for a guild command
128
128
  *
@@ -132,7 +132,7 @@ declare class ApplicationCommandsAPI {
132
132
  * @param commandId - The command id to get the permissions for
133
133
  * @param options - The option for fetching the command
134
134
  */
135
- getGuildCommandPermissions(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildApplicationCommandPermissions>;
135
+ getGuildCommandPermissions(applicationId: Snowflake, guildId: Snowflake, commandId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildApplicationCommandPermissions>;
136
136
  /**
137
137
  * Fetches all permissions for all commands in a guild
138
138
  *
@@ -141,7 +141,7 @@ declare class ApplicationCommandsAPI {
141
141
  * @param guildId - The guild id to get the permissions for
142
142
  * @param options - The options for fetching permissions
143
143
  */
144
- getGuildCommandsPermissions(applicationId: Snowflake, guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildApplicationCommandsPermissionsResult>;
144
+ getGuildCommandsPermissions(applicationId: Snowflake, guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildApplicationCommandsPermissionsResult>;
145
145
  /**
146
146
  * Edits the permissions for a guild command
147
147
  *
@@ -165,7 +165,7 @@ declare class ApplicationsAPI {
165
165
  * @see {@link https://discord.com/developers/docs/resources/application#get-current-application}
166
166
  * @param options - The options for fetching the application
167
167
  */
168
- getCurrent({ signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplication>;
168
+ getCurrent({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplication>;
169
169
  /**
170
170
  * Edits properties of the application associated with the requesting bot user.
171
171
  *
@@ -173,7 +173,7 @@ declare class ApplicationsAPI {
173
173
  * @param body - The new application data
174
174
  * @param options - The options for editing the application
175
175
  */
176
- editCurrent(body: RESTPatchCurrentApplicationJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplication>;
176
+ editCurrent(body: RESTPatchCurrentApplicationJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplication>;
177
177
  /**
178
178
  * Fetches all emojis of an application
179
179
  *
@@ -181,7 +181,7 @@ declare class ApplicationsAPI {
181
181
  * @param applicationId - The id of the application to fetch the emojis of
182
182
  * @param options - The options for fetching the emojis
183
183
  */
184
- getEmojis(applicationId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIApplicationEmojisResult>;
184
+ getEmojis(applicationId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIApplicationEmojisResult>;
185
185
  /**
186
186
  * Fetches an emoji of an application
187
187
  *
@@ -190,7 +190,7 @@ declare class ApplicationsAPI {
190
190
  * @param emojiId - The id of the emoji to fetch
191
191
  * @param options - The options for fetching the emoji
192
192
  */
193
- getEmoji(applicationId: Snowflake, emojiId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
193
+ getEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
194
194
  /**
195
195
  * Creates a new emoji of an application
196
196
  *
@@ -199,7 +199,7 @@ declare class ApplicationsAPI {
199
199
  * @param body - The data for creating the emoji
200
200
  * @param options - The options for creating the emoji
201
201
  */
202
- createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
202
+ createEmoji(applicationId: Snowflake, body: RESTPostAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
203
203
  /**
204
204
  * Edits an emoji of an application
205
205
  *
@@ -209,7 +209,7 @@ declare class ApplicationsAPI {
209
209
  * @param body - The data for editing the emoji
210
210
  * @param options - The options for editing the emoji
211
211
  */
212
- editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
212
+ editEmoji(applicationId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIApplicationEmojiJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
213
213
  /**
214
214
  * Deletes an emoji of an application
215
215
  *
@@ -218,7 +218,7 @@ declare class ApplicationsAPI {
218
218
  * @param emojiId - The id of the emoji to delete
219
219
  * @param options - The options for deleting the emoji
220
220
  */
221
- deleteEmoji(applicationId: Snowflake, emojiId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
221
+ deleteEmoji(applicationId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
222
222
  }
223
223
 
224
224
  interface StartForumThreadOptions extends RESTPostAPIGuildForumThreadsJSONBody {
@@ -243,7 +243,7 @@ declare class ChannelsAPI {
243
243
  * @param body - The data for sending the message
244
244
  * @param options - The options for sending the message
245
245
  */
246
- createMessage(channelId: Snowflake, { files, ...body }: CreateMessageOptions, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIMessage>;
246
+ createMessage(channelId: Snowflake, { files, ...body }: CreateMessageOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIMessage>;
247
247
  /**
248
248
  * Edits a message
249
249
  *
@@ -253,7 +253,7 @@ declare class ChannelsAPI {
253
253
  * @param body - The data for editing the message
254
254
  * @param options - The options for editing the message
255
255
  */
256
- editMessage(channelId: Snowflake, messageId: Snowflake, { files, ...body }: EditMessageOptions, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIMessage>;
256
+ editMessage(channelId: Snowflake, messageId: Snowflake, { files, ...body }: EditMessageOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIMessage>;
257
257
  /**
258
258
  * Fetches the reactions for a message
259
259
  *
@@ -272,7 +272,7 @@ declare class ChannelsAPI {
272
272
  * await api.channels.getMessageReactions('1234567890', '1234567890', 'emoji_name:1234567890');
273
273
  * ```
274
274
  */
275
- getMessageReactions(channelId: Snowflake, messageId: Snowflake, emoji: string, query?: RESTGetAPIChannelMessageReactionUsersQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelMessageReactionUsersResult>;
275
+ getMessageReactions(channelId: Snowflake, messageId: Snowflake, emoji: string, query?: RESTGetAPIChannelMessageReactionUsersQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelMessageReactionUsersResult>;
276
276
  /**
277
277
  * Deletes a reaction for the current user
278
278
  *
@@ -290,7 +290,7 @@ declare class ChannelsAPI {
290
290
  * await api.channels.deleteOwnMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890');
291
291
  * ```
292
292
  */
293
- deleteOwnMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
293
+ deleteOwnMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
294
294
  /**
295
295
  * Deletes a reaction for a user
296
296
  *
@@ -309,7 +309,7 @@ declare class ChannelsAPI {
309
309
  * await api.channels.deleteUserMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890', '1234567890');
310
310
  * ```
311
311
  */
312
- deleteUserMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
312
+ deleteUserMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
313
313
  /**
314
314
  * Deletes all reactions for a message
315
315
  *
@@ -318,7 +318,7 @@ declare class ChannelsAPI {
318
318
  * @param messageId - The id of the message to delete the reactions for
319
319
  * @param options - The options for deleting the reactions
320
320
  */
321
- deleteAllMessageReactions(channelId: Snowflake, messageId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
321
+ deleteAllMessageReactions(channelId: Snowflake, messageId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
322
322
  /**
323
323
  * Deletes all reactions of an emoji for a message
324
324
  *
@@ -336,7 +336,7 @@ declare class ChannelsAPI {
336
336
  * await api.channels.deleteAllMessageReactionsForEmoji('1234567890', '1234567890', 'emoji_name:1234567890');
337
337
  * ```
338
338
  */
339
- deleteAllMessageReactionsForEmoji(channelId: Snowflake, messageId: Snowflake, emoji: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
339
+ deleteAllMessageReactionsForEmoji(channelId: Snowflake, messageId: Snowflake, emoji: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
340
340
  /**
341
341
  * Adds a reaction to a message
342
342
  *
@@ -354,7 +354,7 @@ declare class ChannelsAPI {
354
354
  * await api.channels.addMessageReaction('1234567890', '1234567890', 'emoji_name:1234567890');
355
355
  * ```
356
356
  */
357
- addMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
357
+ addMessageReaction(channelId: Snowflake, messageId: Snowflake, emoji: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
358
358
  /**
359
359
  * Fetches a channel
360
360
  *
@@ -362,7 +362,7 @@ declare class ChannelsAPI {
362
362
  * @param channelId - The id of the channel
363
363
  * @param options - The options for fetching the channel
364
364
  */
365
- get(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIChannel>;
365
+ get(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
366
366
  /**
367
367
  * Edits a channel
368
368
  *
@@ -371,7 +371,7 @@ declare class ChannelsAPI {
371
371
  * @param body - The new channel data
372
372
  * @param options - The options for editing the channel
373
373
  */
374
- edit(channelId: Snowflake, body: RESTPatchAPIChannelJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIChannel>;
374
+ edit(channelId: Snowflake, body: RESTPatchAPIChannelJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
375
375
  /**
376
376
  * Deletes a channel
377
377
  *
@@ -379,7 +379,7 @@ declare class ChannelsAPI {
379
379
  * @param channelId - The id of the channel to delete
380
380
  * @param options - The options for deleting the channel
381
381
  */
382
- delete(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIChannel>;
382
+ delete(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
383
383
  /**
384
384
  * Fetches the messages of a channel
385
385
  *
@@ -388,7 +388,7 @@ declare class ChannelsAPI {
388
388
  * @param query - The query options for fetching messages
389
389
  * @param options - The options for fetching the messages
390
390
  */
391
- getMessages(channelId: Snowflake, query?: RESTGetAPIChannelMessagesQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelMessagesResult>;
391
+ getMessages(channelId: Snowflake, query?: RESTGetAPIChannelMessagesQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelMessagesResult>;
392
392
  /**
393
393
  * Shows a typing indicator in a channel
394
394
  *
@@ -396,7 +396,7 @@ declare class ChannelsAPI {
396
396
  * @param channelId - The id of the channel to show the typing indicator in
397
397
  * @param options - The options for showing the typing indicator
398
398
  */
399
- showTyping(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
399
+ showTyping(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
400
400
  /**
401
401
  * Fetches the pinned messages of a channel
402
402
  *
@@ -404,7 +404,7 @@ declare class ChannelsAPI {
404
404
  * @param channelId - The id of the channel to fetch pinned messages from
405
405
  * @param options - The options for fetching the pinned messages
406
406
  */
407
- getPins(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelPinsResult>;
407
+ getPins(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelPinsResult>;
408
408
  /**
409
409
  * Pins a message in a channel
410
410
  *
@@ -413,7 +413,7 @@ declare class ChannelsAPI {
413
413
  * @param messageId - The id of the message to pin
414
414
  * @param options - The options for pinning the message
415
415
  */
416
- pinMessage(channelId: Snowflake, messageId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
416
+ pinMessage(channelId: Snowflake, messageId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
417
417
  /**
418
418
  * Deletes a message
419
419
  *
@@ -422,7 +422,7 @@ declare class ChannelsAPI {
422
422
  * @param messageId - The id of the message to delete
423
423
  * @param options - The options for deleting the message
424
424
  */
425
- deleteMessage(channelId: Snowflake, messageId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
425
+ deleteMessage(channelId: Snowflake, messageId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
426
426
  /**
427
427
  * Bulk deletes messages
428
428
  *
@@ -431,7 +431,7 @@ declare class ChannelsAPI {
431
431
  * @param messageIds - The ids of the messages to delete
432
432
  * @param options - The options for deleting the messages
433
433
  */
434
- bulkDeleteMessages(channelId: Snowflake, messageIds: Snowflake[], { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
434
+ bulkDeleteMessages(channelId: Snowflake, messageIds: Snowflake[], { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
435
435
  /**
436
436
  * Fetches a message
437
437
  *
@@ -440,7 +440,7 @@ declare class ChannelsAPI {
440
440
  * @param messageId - The id of the message to fetch
441
441
  * @param options - The options for fetching the message
442
442
  */
443
- getMessage(channelId: Snowflake, messageId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIMessage>;
443
+ getMessage(channelId: Snowflake, messageId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIMessage>;
444
444
  /**
445
445
  * Crossposts a message
446
446
  *
@@ -449,7 +449,7 @@ declare class ChannelsAPI {
449
449
  * @param messageId - The id of the message to crosspost
450
450
  * @param options - The options for crossposting the message
451
451
  */
452
- crosspostMessage(channelId: Snowflake, messageId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIMessage>;
452
+ crosspostMessage(channelId: Snowflake, messageId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIMessage>;
453
453
  /**
454
454
  * Unpins a message in a channel
455
455
  *
@@ -458,7 +458,7 @@ declare class ChannelsAPI {
458
458
  * @param messageId - The id of the message to unpin
459
459
  * @param options - The options for unpinning the message
460
460
  */
461
- unpinMessage(channelId: Snowflake, messageId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
461
+ unpinMessage(channelId: Snowflake, messageId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
462
462
  /**
463
463
  * Follows an announcement channel
464
464
  *
@@ -467,7 +467,7 @@ declare class ChannelsAPI {
467
467
  * @param webhookChannelId - The id of the webhook channel to follow the announcements in
468
468
  * @param options - The options for following the announcement channel
469
469
  */
470
- followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
470
+ followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
471
471
  /**
472
472
  * Creates a new invite for a channel
473
473
  *
@@ -476,7 +476,7 @@ declare class ChannelsAPI {
476
476
  * @param body - The data for creating the invite
477
477
  * @param options - The options for creating the invite
478
478
  */
479
- createInvite(channelId: Snowflake, body: RESTPostAPIChannelInviteJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIExtendedInvite>;
479
+ createInvite(channelId: Snowflake, body: RESTPostAPIChannelInviteJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIExtendedInvite>;
480
480
  /**
481
481
  * Fetches the invites of a channel
482
482
  *
@@ -484,7 +484,7 @@ declare class ChannelsAPI {
484
484
  * @param channelId - The id of the channel to fetch invites from
485
485
  * @param options - The options for fetching the invites
486
486
  */
487
- getInvites(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelInvitesResult>;
487
+ getInvites(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelInvitesResult>;
488
488
  /**
489
489
  * Creates a new thread
490
490
  *
@@ -495,7 +495,7 @@ declare class ChannelsAPI {
495
495
  * @param messageId - The id of the message to start the thread from
496
496
  * @param options - The options for starting the thread
497
497
  */
498
- createThread(channelId: Snowflake, body: RESTPostAPIChannelThreadsJSONBody, messageId?: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIChannel>;
498
+ createThread(channelId: Snowflake, body: RESTPostAPIChannelThreadsJSONBody, messageId?: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
499
499
  /**
500
500
  * Creates a new forum post
501
501
  *
@@ -504,7 +504,7 @@ declare class ChannelsAPI {
504
504
  * @param body - The data for starting the thread
505
505
  * @param options - The options for starting the thread
506
506
  */
507
- createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { signal }?: Pick<RequestData, 'signal'>): Promise<APIThreadChannel>;
507
+ createForumThread(channelId: Snowflake, { message, ...optionsBody }: StartForumThreadOptions, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadChannel>;
508
508
  /**
509
509
  * Fetches the archived threads of a channel
510
510
  *
@@ -515,7 +515,7 @@ declare class ChannelsAPI {
515
515
  * @param query - The options for fetching archived threads
516
516
  * @param options - The options for fetching archived threads
517
517
  */
518
- getArchivedThreads(channelId: Snowflake, archivedStatus: 'private' | 'public', query?: RESTGetAPIChannelThreadsArchivedQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelUsersThreadsArchivedResult>;
518
+ getArchivedThreads(channelId: Snowflake, archivedStatus: 'private' | 'public', query?: RESTGetAPIChannelThreadsArchivedQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelUsersThreadsArchivedResult>;
519
519
  /**
520
520
  * Fetches the private joined archived threads of a channel
521
521
  *
@@ -524,7 +524,7 @@ declare class ChannelsAPI {
524
524
  * @param query - The options for fetching joined archived threads
525
525
  * @param options - The options for fetching joined archived threads
526
526
  */
527
- getJoinedPrivateArchivedThreads(channelId: Snowflake, query?: RESTGetAPIChannelThreadsArchivedQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelUsersThreadsArchivedResult>;
527
+ getJoinedPrivateArchivedThreads(channelId: Snowflake, query?: RESTGetAPIChannelThreadsArchivedQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelUsersThreadsArchivedResult>;
528
528
  /**
529
529
  * Creates a new webhook
530
530
  *
@@ -533,14 +533,15 @@ declare class ChannelsAPI {
533
533
  * @param body - The data for creating the webhook
534
534
  * @param options - The options for creating the webhook
535
535
  */
536
- createWebhook(channelId: Snowflake, body: RESTPostAPIChannelWebhookJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIWebhook>;
536
+ createWebhook(channelId: Snowflake, body: RESTPostAPIChannelWebhookJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIWebhook>;
537
537
  /**
538
538
  * Fetches the webhooks of a channel
539
539
  *
540
540
  * @see {@link https://discord.com/developers/docs/resources/webhook#get-channel-webhooks}
541
541
  * @param channelId - The id of the channel
542
+ * @param options - The options for fetching the webhooks
542
543
  */
543
- getWebhooks(channelId: Snowflake): Promise<RESTGetAPIChannelWebhooksResult>;
544
+ getWebhooks(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelWebhooksResult>;
544
545
  /**
545
546
  * Edits the permission overwrite for a user or role in a channel
546
547
  *
@@ -550,7 +551,7 @@ declare class ChannelsAPI {
550
551
  * @param body - The data for editing the permission overwrite
551
552
  * @param options - The options for editing the permission overwrite
552
553
  */
553
- editPermissionOverwrite(channelId: Snowflake, overwriteId: Snowflake, body: RESTPutAPIChannelPermissionJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
554
+ editPermissionOverwrite(channelId: Snowflake, overwriteId: Snowflake, body: RESTPutAPIChannelPermissionJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
554
555
  /**
555
556
  * Deletes the permission overwrite for a user or role in a channel
556
557
  *
@@ -559,7 +560,7 @@ declare class ChannelsAPI {
559
560
  * @param overwriteId - The id of the user or role to delete the permission overwrite for
560
561
  * @param options - The options for deleting the permission overwrite
561
562
  */
562
- deletePermissionOverwrite(channelId: Snowflake, overwriteId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
563
+ deletePermissionOverwrite(channelId: Snowflake, overwriteId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
563
564
  /**
564
565
  * Sends a soundboard sound in a channel
565
566
  *
@@ -568,7 +569,7 @@ declare class ChannelsAPI {
568
569
  * @param body - The data for sending the soundboard sound
569
570
  * @param options - The options for sending the soundboard sound
570
571
  */
571
- sendSoundboardSound(channelId: Snowflake, body: RESTPostAPISoundboardSendSoundJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
572
+ sendSoundboardSound(channelId: Snowflake, body: RESTPostAPISoundboardSendSoundJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
572
573
  }
573
574
 
574
575
  interface CreateStickerOptions extends Omit<RESTPostAPIGuildStickerFormDataBody, 'file'> {
@@ -585,7 +586,7 @@ declare class GuildsAPI {
585
586
  * @param query - The query options for fetching the guild
586
587
  * @param options - The options for fetching the guild
587
588
  */
588
- get(guildId: Snowflake, query?: RESTGetAPIGuildQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuild>;
589
+ get(guildId: Snowflake, query?: RESTGetAPIGuildQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuild>;
589
590
  /**
590
591
  * Fetches a guild preview
591
592
  *
@@ -593,7 +594,7 @@ declare class GuildsAPI {
593
594
  * @param guildId - The id of the guild to fetch the preview from
594
595
  * @param options - The options for fetching the guild preview
595
596
  */
596
- getPreview(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildPreview>;
597
+ getPreview(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildPreview>;
597
598
  /**
598
599
  * Creates a guild
599
600
  *
@@ -601,7 +602,7 @@ declare class GuildsAPI {
601
602
  * @param body - The guild to create
602
603
  * @param options - The options for creating the guild
603
604
  */
604
- create(body: RESTPostAPIGuildsJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuild>;
605
+ create(body: RESTPostAPIGuildsJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuild>;
605
606
  /**
606
607
  * Edits a guild
607
608
  *
@@ -610,7 +611,7 @@ declare class GuildsAPI {
610
611
  * @param body - The new guild data
611
612
  * @param options - The options for editing the guild
612
613
  */
613
- edit(guildId: Snowflake, body: RESTPatchAPIGuildJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuild>;
614
+ edit(guildId: Snowflake, body: RESTPatchAPIGuildJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuild>;
614
615
  /**
615
616
  * Deletes a guild
616
617
  *
@@ -618,7 +619,7 @@ declare class GuildsAPI {
618
619
  * @param guildId - The id of the guild to delete
619
620
  * @param options - The options for deleting this guild
620
621
  */
621
- delete(guildId: Snowflake, { signal, reason }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
622
+ delete(guildId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
622
623
  /**
623
624
  * Adds user to the guild
624
625
  *
@@ -628,16 +629,16 @@ declare class GuildsAPI {
628
629
  * @param body - The data for adding users to the guild
629
630
  * @param options - The options for adding users to the guild
630
631
  */
631
- addMember(guildId: Snowflake, userId: Snowflake, body: RESTPutAPIGuildMemberJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPutAPIGuildMemberResult>;
632
+ addMember(guildId: Snowflake, userId: Snowflake, body: RESTPutAPIGuildMemberJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPutAPIGuildMemberResult>;
632
633
  /**
633
- * Fetches all the members of a guild
634
+ * Fetches members of a guild.
634
635
  *
635
636
  * @see {@link https://discord.com/developers/docs/resources/guild#list-guild-members}
636
637
  * @param guildId - The id of the guild
637
638
  * @param query - The query for fetching the guild members
638
639
  * @param options - The options for fetching the guild members
639
640
  */
640
- getMembers(guildId: Snowflake, query?: RESTGetAPIGuildMembersQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildMembersResult>;
641
+ getMembers(guildId: Snowflake, query?: RESTGetAPIGuildMembersQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildMembersResult>;
641
642
  /**
642
643
  * Fetches a guild's channels
643
644
  *
@@ -645,7 +646,7 @@ declare class GuildsAPI {
645
646
  * @param guildId - The id of the guild to fetch the channels from
646
647
  * @param options - The options for fetching the guild channels
647
648
  */
648
- getChannels(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildChannelsResult>;
649
+ getChannels(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildChannelsResult>;
649
650
  /**
650
651
  * Creates a guild channel
651
652
  *
@@ -654,7 +655,7 @@ declare class GuildsAPI {
654
655
  * @param body - The data to create the new channel
655
656
  * @param options - The options for creating the guild channel
656
657
  */
657
- createChannel(guildId: Snowflake, body: RESTPostAPIGuildChannelJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
658
+ createChannel(guildId: Snowflake, body: RESTPostAPIGuildChannelJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
658
659
  /**
659
660
  * Edits a guild channel's positions
660
661
  *
@@ -663,7 +664,7 @@ declare class GuildsAPI {
663
664
  * @param body - The data to edit the channel positions with
664
665
  * @param options - The options for editing the guild channel positions
665
666
  */
666
- setChannelPositions(guildId: Snowflake, body: RESTPatchAPIGuildChannelPositionsJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
667
+ setChannelPositions(guildId: Snowflake, body: RESTPatchAPIGuildChannelPositionsJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
667
668
  /**
668
669
  * Fetches the active threads in a guild
669
670
  *
@@ -671,7 +672,7 @@ declare class GuildsAPI {
671
672
  * @param guildId - The id of the guild to fetch the active threads from
672
673
  * @param options - The options for fetching the active threads
673
674
  */
674
- getActiveThreads(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIThreadList>;
675
+ getActiveThreads(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIThreadList>;
675
676
  /**
676
677
  * Fetches a guild member ban
677
678
  *
@@ -680,7 +681,7 @@ declare class GuildsAPI {
680
681
  * @param userId - The id of the user to fetch the ban
681
682
  * @param options - The options for fetching the ban
682
683
  */
683
- getMemberBan(guildId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIBan>;
684
+ getMemberBan(guildId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIBan>;
684
685
  /**
685
686
  * Fetches guild member bans
686
687
  *
@@ -689,7 +690,7 @@ declare class GuildsAPI {
689
690
  * @param query - The query options for fetching the bans
690
691
  * @param options - The options for fetching the bans
691
692
  */
692
- getMemberBans(guildId: Snowflake, query?: RESTGetAPIGuildBansQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildBansResult>;
693
+ getMemberBans(guildId: Snowflake, query?: RESTGetAPIGuildBansQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildBansResult>;
693
694
  /**
694
695
  * Bans a user from a guild
695
696
  *
@@ -699,7 +700,7 @@ declare class GuildsAPI {
699
700
  * @param body - The payload for banning the user
700
701
  * @param options - The options for banning the user
701
702
  */
702
- banUser(guildId: Snowflake, userId: Snowflake, body?: RESTPutAPIGuildBanJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
703
+ banUser(guildId: Snowflake, userId: Snowflake, body?: RESTPutAPIGuildBanJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
703
704
  /**
704
705
  * Unbans a user from a guild
705
706
  *
@@ -708,7 +709,7 @@ declare class GuildsAPI {
708
709
  * @param userId - The id of the user to unban
709
710
  * @param options - The options for unbanning the user
710
711
  */
711
- unbanUser(guildId: Snowflake, userId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
712
+ unbanUser(guildId: Snowflake, userId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
712
713
  /**
713
714
  * Bulk ban users from a guild
714
715
  *
@@ -717,7 +718,7 @@ declare class GuildsAPI {
717
718
  * @param body - The data for bulk banning users
718
719
  * @param options - The options for bulk banning users
719
720
  */
720
- bulkBanUsers(guildId: Snowflake, body: RESTPostAPIGuildBulkBanJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<RESTPostAPIGuildBulkBanResult>;
721
+ bulkBanUsers(guildId: Snowflake, body: RESTPostAPIGuildBulkBanJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<RESTPostAPIGuildBulkBanResult>;
721
722
  /**
722
723
  * Gets all the roles in a guild
723
724
  *
@@ -725,7 +726,7 @@ declare class GuildsAPI {
725
726
  * @param guildId - The id of the guild to fetch the roles from
726
727
  * @param options - The options for fetching the guild roles
727
728
  */
728
- getRoles(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildRolesResult>;
729
+ getRoles(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildRolesResult>;
729
730
  /**
730
731
  * Get a role in a guild
731
732
  *
@@ -734,7 +735,7 @@ declare class GuildsAPI {
734
735
  * @param roleId - The id of the role to fetch
735
736
  * @param options - The options for fetching the guild role
736
737
  */
737
- getRole(guildId: Snowflake, roleId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIRole>;
738
+ getRole(guildId: Snowflake, roleId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIRole>;
738
739
  /**
739
740
  * Creates a guild role
740
741
  *
@@ -743,7 +744,7 @@ declare class GuildsAPI {
743
744
  * @param body - The data to create the role with
744
745
  * @param options - The options for creating the guild role
745
746
  */
746
- createRole(guildId: Snowflake, body: RESTPostAPIGuildRoleJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIRole>;
747
+ createRole(guildId: Snowflake, body: RESTPostAPIGuildRoleJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIRole>;
747
748
  /**
748
749
  * Sets role positions in a guild
749
750
  *
@@ -752,7 +753,7 @@ declare class GuildsAPI {
752
753
  * @param body - The data for setting a role position
753
754
  * @param options - The options for setting role positions
754
755
  */
755
- setRolePositions(guildId: Snowflake, body: RESTPatchAPIGuildRolePositionsJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<RESTPatchAPIGuildRolePositionsResult>;
756
+ setRolePositions(guildId: Snowflake, body: RESTPatchAPIGuildRolePositionsJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<RESTPatchAPIGuildRolePositionsResult>;
756
757
  /**
757
758
  * Edits a guild role
758
759
  *
@@ -762,7 +763,7 @@ declare class GuildsAPI {
762
763
  * @param body - data for editing the role
763
764
  * @param options - The options for editing the guild role
764
765
  */
765
- editRole(guildId: Snowflake, roleId: Snowflake, body: RESTPatchAPIGuildRoleJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIRole>;
766
+ editRole(guildId: Snowflake, roleId: Snowflake, body: RESTPatchAPIGuildRoleJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIRole>;
766
767
  /**
767
768
  * Deletes a guild role
768
769
  *
@@ -771,7 +772,7 @@ declare class GuildsAPI {
771
772
  * @param roleId - The id of the role to delete
772
773
  * @param options - The options for deleting the guild role
773
774
  */
774
- deleteRole(guildId: Snowflake, roleId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
775
+ deleteRole(guildId: Snowflake, roleId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
775
776
  /**
776
777
  * Edits the multi-factor-authentication (MFA) level of a guild
777
778
  *
@@ -780,7 +781,7 @@ declare class GuildsAPI {
780
781
  * @param level - The new MFA level
781
782
  * @param options - The options for editing the MFA level
782
783
  */
783
- editMFALevel(guildId: Snowflake, level: GuildMFALevel, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.RESTPostAPIGuildsMFAJSONBody>;
784
+ editMFALevel(guildId: Snowflake, level: GuildMFALevel, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.RESTPostAPIGuildsMFAJSONBody>;
784
785
  /**
785
786
  * Fetch the number of members that can be pruned from a guild
786
787
  *
@@ -789,7 +790,7 @@ declare class GuildsAPI {
789
790
  * @param query - The query options for fetching the number of pruned members
790
791
  * @param options - The options for fetching the number of pruned members
791
792
  */
792
- getPruneCount(guildId: Snowflake, query?: RESTGetAPIGuildPruneCountQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildPruneCountResult>;
793
+ getPruneCount(guildId: Snowflake, query?: RESTGetAPIGuildPruneCountQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildPruneCountResult>;
793
794
  /**
794
795
  * Prunes members in a guild
795
796
  *
@@ -798,7 +799,7 @@ declare class GuildsAPI {
798
799
  * @param body - The options for pruning members
799
800
  * @param options - The options for initiating the prune
800
801
  */
801
- beginPrune(guildId: Snowflake, body?: RESTPostAPIGuildPruneJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<RESTPostAPIGuildPruneResult>;
802
+ beginPrune(guildId: Snowflake, body?: RESTPostAPIGuildPruneJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<RESTPostAPIGuildPruneResult>;
802
803
  /**
803
804
  * Fetches voice regions for a guild
804
805
  *
@@ -806,7 +807,7 @@ declare class GuildsAPI {
806
807
  * @param guildId - The id of the guild to fetch the voice regions from
807
808
  * @param options - The options for fetching the voice regions
808
809
  */
809
- getVoiceRegions(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildVoiceRegionsResult>;
810
+ getVoiceRegions(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildVoiceRegionsResult>;
810
811
  /**
811
812
  * Fetches the invites for a guild
812
813
  *
@@ -814,7 +815,7 @@ declare class GuildsAPI {
814
815
  * @param guildId - The id of the guild to fetch the invites from
815
816
  * @param options - The options for fetching the invites
816
817
  */
817
- getInvites(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildInvitesResult>;
818
+ getInvites(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildInvitesResult>;
818
819
  /**
819
820
  * Fetches the integrations for a guild
820
821
  *
@@ -822,7 +823,7 @@ declare class GuildsAPI {
822
823
  * @param guildId - The id of the guild to fetch the integrations from
823
824
  * @param options - The options for fetching the integrations
824
825
  */
825
- getIntegrations(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildIntegrationsResult>;
826
+ getIntegrations(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildIntegrationsResult>;
826
827
  /**
827
828
  * Deletes an integration from a guild
828
829
  *
@@ -831,7 +832,7 @@ declare class GuildsAPI {
831
832
  * @param integrationId - The id of the integration to delete
832
833
  * @param options - The options for deleting the integration
833
834
  */
834
- deleteIntegration(guildId: Snowflake, integrationId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
835
+ deleteIntegration(guildId: Snowflake, integrationId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
835
836
  /**
836
837
  * Fetches the widget settings for a guild
837
838
  *
@@ -839,7 +840,7 @@ declare class GuildsAPI {
839
840
  * @param guildId - The id of the guild to fetch the widget settings from
840
841
  * @param options - The options for fetching the widget settings
841
842
  */
842
- getWidgetSettings(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildWidgetSettings>;
843
+ getWidgetSettings(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildWidgetSettings>;
843
844
  /**
844
845
  * Edits the widget settings for a guild
845
846
  *
@@ -848,7 +849,7 @@ declare class GuildsAPI {
848
849
  * @param body - The new widget settings data
849
850
  * @param options - The options for editing the widget settings
850
851
  */
851
- editWidgetSettings(guildId: Snowflake, body: RESTPatchAPIGuildWidgetSettingsJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildWidgetSettings>;
852
+ editWidgetSettings(guildId: Snowflake, body: RESTPatchAPIGuildWidgetSettingsJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildWidgetSettings>;
852
853
  /**
853
854
  * Fetches the widget for a guild
854
855
  *
@@ -856,7 +857,7 @@ declare class GuildsAPI {
856
857
  * @param guildId - The id of the guild to fetch the widget from
857
858
  * @param options - The options for fetching the widget
858
859
  */
859
- getWidget(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildWidget>;
860
+ getWidget(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildWidget>;
860
861
  /**
861
862
  * Fetches the vanity url for a guild
862
863
  *
@@ -864,7 +865,7 @@ declare class GuildsAPI {
864
865
  * @param guildId - The id of the guild to fetch the vanity url from
865
866
  * @param options - The options for fetching the vanity url
866
867
  */
867
- getVanityURL(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildVanityUrlResult>;
868
+ getVanityURL(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildVanityUrlResult>;
868
869
  /**
869
870
  * Fetches the widget image for a guild
870
871
  *
@@ -873,7 +874,7 @@ declare class GuildsAPI {
873
874
  * @param style - The style of the widget image
874
875
  * @param options - The options for fetching the widget image
875
876
  */
876
- getWidgetImage(guildId: Snowflake, style?: GuildWidgetStyle, { signal }?: Pick<RequestData, 'signal'>): Promise<ArrayBuffer>;
877
+ getWidgetImage(guildId: Snowflake, style?: GuildWidgetStyle, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<ArrayBuffer>;
877
878
  /**
878
879
  * Fetches the welcome screen for a guild
879
880
  *
@@ -881,7 +882,7 @@ declare class GuildsAPI {
881
882
  * @param guildId - The id of the guild to fetch the welcome screen from
882
883
  * @param options - The options for fetching the welcome screen
883
884
  */
884
- getWelcomeScreen(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildWelcomeScreen>;
885
+ getWelcomeScreen(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildWelcomeScreen>;
885
886
  /**
886
887
  * Edits the welcome screen for a guild
887
888
  *
@@ -890,7 +891,7 @@ declare class GuildsAPI {
890
891
  * @param body - The new welcome screen data
891
892
  * @param options - The options for editing the welcome screen
892
893
  */
893
- editWelcomeScreen(guildId: Snowflake, body?: RESTPatchAPIGuildWelcomeScreenJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildWelcomeScreen>;
894
+ editWelcomeScreen(guildId: Snowflake, body?: RESTPatchAPIGuildWelcomeScreenJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildWelcomeScreen>;
894
895
  /**
895
896
  * Fetches all emojis for a guild
896
897
  *
@@ -898,7 +899,7 @@ declare class GuildsAPI {
898
899
  * @param guildId - The id of the guild to fetch the emojis from
899
900
  * @param options - The options for fetching the emojis
900
901
  */
901
- getEmojis(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildEmojisResult>;
902
+ getEmojis(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildEmojisResult>;
902
903
  /**
903
904
  * Fetches an emoji for a guild
904
905
  *
@@ -907,7 +908,7 @@ declare class GuildsAPI {
907
908
  * @param emojiId - The id of the emoji to fetch
908
909
  * @param options - The options for fetching the emoji
909
910
  */
910
- getEmoji(guildId: Snowflake, emojiId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
911
+ getEmoji(guildId: Snowflake, emojiId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
911
912
  /**
912
913
  * Creates a new emoji for a guild
913
914
  *
@@ -916,7 +917,7 @@ declare class GuildsAPI {
916
917
  * @param body - The data for creating the emoji
917
918
  * @param options - The options for creating the emoji
918
919
  */
919
- createEmoji(guildId: Snowflake, body: RESTPostAPIGuildEmojiJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
920
+ createEmoji(guildId: Snowflake, body: RESTPostAPIGuildEmojiJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
920
921
  /**
921
922
  * Edits an emoji for a guild
922
923
  *
@@ -926,7 +927,7 @@ declare class GuildsAPI {
926
927
  * @param body - The data for editing the emoji
927
928
  * @param options - The options for editing the emoji
928
929
  */
929
- editEmoji(guildId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIGuildEmojiJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
930
+ editEmoji(guildId: Snowflake, emojiId: Snowflake, body: RESTPatchAPIGuildEmojiJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIEmoji>;
930
931
  /**
931
932
  * Deletes an emoji for a guild
932
933
  *
@@ -935,7 +936,7 @@ declare class GuildsAPI {
935
936
  * @param emojiId - The id of the emoji to delete
936
937
  * @param options - The options for deleting the emoji
937
938
  */
938
- deleteEmoji(guildId: Snowflake, emojiId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
939
+ deleteEmoji(guildId: Snowflake, emojiId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
939
940
  /**
940
941
  * Fetches all scheduled events for a guild
941
942
  *
@@ -944,7 +945,7 @@ declare class GuildsAPI {
944
945
  * @param query - The query options for fetching the scheduled events
945
946
  * @param options - The options for fetching the scheduled events
946
947
  */
947
- getScheduledEvents(guildId: Snowflake, query?: RESTGetAPIGuildScheduledEventsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildScheduledEventsResult>;
948
+ getScheduledEvents(guildId: Snowflake, query?: RESTGetAPIGuildScheduledEventsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildScheduledEventsResult>;
948
949
  /**
949
950
  * Creates a new scheduled event for a guild
950
951
  *
@@ -953,7 +954,7 @@ declare class GuildsAPI {
953
954
  * @param body - The data to create the event with
954
955
  * @param options - The options for creating the scheduled event
955
956
  */
956
- createScheduledEvent(guildId: Snowflake, body: RESTPostAPIGuildScheduledEventJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
957
+ createScheduledEvent(guildId: Snowflake, body: RESTPostAPIGuildScheduledEventJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
957
958
  /**
958
959
  * Fetches a scheduled event for a guild
959
960
  *
@@ -963,7 +964,7 @@ declare class GuildsAPI {
963
964
  * @param query - The options for fetching the scheduled event
964
965
  * @param options - The options for fetching the scheduled event
965
966
  */
966
- getScheduledEvent(guildId: Snowflake, eventId: Snowflake, query?: RESTGetAPIGuildScheduledEventQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
967
+ getScheduledEvent(guildId: Snowflake, eventId: Snowflake, query?: RESTGetAPIGuildScheduledEventQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
967
968
  /**
968
969
  * Edits a scheduled event for a guild
969
970
  *
@@ -973,7 +974,7 @@ declare class GuildsAPI {
973
974
  * @param body - The new event data
974
975
  * @param options - The options for editing the scheduled event
975
976
  */
976
- editScheduledEvent(guildId: Snowflake, eventId: Snowflake, body: RESTPatchAPIGuildScheduledEventJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
977
+ editScheduledEvent(guildId: Snowflake, eventId: Snowflake, body: RESTPatchAPIGuildScheduledEventJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildScheduledEvent>;
977
978
  /**
978
979
  * Deletes a scheduled event for a guild
979
980
  *
@@ -982,7 +983,7 @@ declare class GuildsAPI {
982
983
  * @param eventId - The id of the scheduled event to delete
983
984
  * @param options - The options for deleting the scheduled event
984
985
  */
985
- deleteScheduledEvent(guildId: Snowflake, eventId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
986
+ deleteScheduledEvent(guildId: Snowflake, eventId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
986
987
  /**
987
988
  * Gets all users that are interested in a scheduled event
988
989
  *
@@ -992,7 +993,7 @@ declare class GuildsAPI {
992
993
  * @param query - The options for fetching the scheduled event users
993
994
  * @param options - The options for fetching the scheduled event users
994
995
  */
995
- getScheduledEventUsers(guildId: Snowflake, eventId: Snowflake, query?: RESTGetAPIGuildScheduledEventUsersQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildScheduledEventUsersResult>;
996
+ getScheduledEventUsers(guildId: Snowflake, eventId: Snowflake, query?: RESTGetAPIGuildScheduledEventUsersQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildScheduledEventUsersResult>;
996
997
  /**
997
998
  * Fetches all the templates for a guild
998
999
  *
@@ -1000,7 +1001,7 @@ declare class GuildsAPI {
1000
1001
  * @param guildId - The id of the guild to fetch the templates from
1001
1002
  * @param options - The options for fetching the templates
1002
1003
  */
1003
- getTemplates(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildTemplatesResult>;
1004
+ getTemplates(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildTemplatesResult>;
1004
1005
  /**
1005
1006
  * Syncs a template for a guild
1006
1007
  *
@@ -1009,7 +1010,7 @@ declare class GuildsAPI {
1009
1010
  * @param templateCode - The code of the template to sync
1010
1011
  * @param options - The options for syncing the template
1011
1012
  */
1012
- syncTemplate(guildId: Snowflake, templateCode: string, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1013
+ syncTemplate(guildId: Snowflake, templateCode: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1013
1014
  /**
1014
1015
  * Edits a template for a guild
1015
1016
  *
@@ -1019,7 +1020,7 @@ declare class GuildsAPI {
1019
1020
  * @param body - The data for editing the template
1020
1021
  * @param options - The options for editing the template
1021
1022
  */
1022
- editTemplate(guildId: Snowflake, templateCode: string, body: RESTPatchAPIGuildTemplateJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1023
+ editTemplate(guildId: Snowflake, templateCode: string, body: RESTPatchAPIGuildTemplateJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1023
1024
  /**
1024
1025
  * Deletes a template for a guild
1025
1026
  *
@@ -1028,7 +1029,7 @@ declare class GuildsAPI {
1028
1029
  * @param templateCode - The code of the template to delete
1029
1030
  * @param options - The options for deleting the template
1030
1031
  */
1031
- deleteTemplate(guildId: Snowflake, templateCode: string, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
1032
+ deleteTemplate(guildId: Snowflake, templateCode: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1032
1033
  /**
1033
1034
  * Fetches all the stickers for a guild
1034
1035
  *
@@ -1036,7 +1037,7 @@ declare class GuildsAPI {
1036
1037
  * @param guildId - The id of the guild to fetch the stickers from
1037
1038
  * @param options - The options for fetching the stickers
1038
1039
  */
1039
- getStickers(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildStickersResult>;
1040
+ getStickers(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildStickersResult>;
1040
1041
  /**
1041
1042
  * Fetches a sticker for a guild
1042
1043
  *
@@ -1045,7 +1046,7 @@ declare class GuildsAPI {
1045
1046
  * @param stickerId - The id of the sticker to fetch
1046
1047
  * @param options - The options for fetching the sticker
1047
1048
  */
1048
- getSticker(guildId: Snowflake, stickerId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APISticker>;
1049
+ getSticker(guildId: Snowflake, stickerId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1049
1050
  /**
1050
1051
  * Creates a sticker for a guild
1051
1052
  *
@@ -1054,7 +1055,7 @@ declare class GuildsAPI {
1054
1055
  * @param body - The data for creating the sticker
1055
1056
  * @param options - The options for creating the sticker
1056
1057
  */
1057
- createSticker(guildId: Snowflake, { file, ...body }: CreateStickerOptions, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1058
+ createSticker(guildId: Snowflake, { file, ...body }: CreateStickerOptions, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1058
1059
  /**
1059
1060
  * Edits a sticker for a guild
1060
1061
  *
@@ -1064,7 +1065,7 @@ declare class GuildsAPI {
1064
1065
  * @param body - The data for editing the sticker
1065
1066
  * @param options - The options for editing the sticker
1066
1067
  */
1067
- editSticker(guildId: Snowflake, stickerId: Snowflake, body: RESTPatchAPIGuildStickerJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1068
+ editSticker(guildId: Snowflake, stickerId: Snowflake, body: RESTPatchAPIGuildStickerJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1068
1069
  /**
1069
1070
  * Deletes a sticker for a guild
1070
1071
  *
@@ -1073,7 +1074,7 @@ declare class GuildsAPI {
1073
1074
  * @param stickerId - The id of the sticker to delete
1074
1075
  * @param options - The options for deleting the sticker
1075
1076
  */
1076
- deleteSticker(guildId: Snowflake, stickerId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1077
+ deleteSticker(guildId: Snowflake, stickerId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1077
1078
  /**
1078
1079
  * Fetches the audit logs for a guild
1079
1080
  *
@@ -1082,7 +1083,7 @@ declare class GuildsAPI {
1082
1083
  * @param query - The query options for fetching the audit logs
1083
1084
  * @param options - The options for fetching the audit logs
1084
1085
  */
1085
- getAuditLogs(guildId: Snowflake, query?: RESTGetAPIAuditLogQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIAuditLog>;
1086
+ getAuditLogs(guildId: Snowflake, query?: RESTGetAPIAuditLogQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIAuditLog>;
1086
1087
  /**
1087
1088
  * Fetches all auto moderation rules for a guild
1088
1089
  *
@@ -1090,7 +1091,7 @@ declare class GuildsAPI {
1090
1091
  * @param guildId - The id of the guild to fetch the auto moderation rules from
1091
1092
  * @param options - The options for fetching the auto moderation rules
1092
1093
  */
1093
- getAutoModerationRules(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIAutoModerationRulesResult>;
1094
+ getAutoModerationRules(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIAutoModerationRulesResult>;
1094
1095
  /**
1095
1096
  * Fetches an auto moderation rule for a guild
1096
1097
  *
@@ -1099,7 +1100,7 @@ declare class GuildsAPI {
1099
1100
  * @param ruleId - The id of the auto moderation rule to fetch
1100
1101
  * @param options - The options for fetching the auto moderation rule
1101
1102
  */
1102
- getAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1103
+ getAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1103
1104
  /**
1104
1105
  * Creates a new auto moderation rule for a guild
1105
1106
  *
@@ -1108,7 +1109,7 @@ declare class GuildsAPI {
1108
1109
  * @param body - The data for creating the auto moderation rule
1109
1110
  * @param options - The options for creating the auto moderation rule
1110
1111
  */
1111
- createAutoModerationRule(guildId: Snowflake, body: RESTPostAPIAutoModerationRuleJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1112
+ createAutoModerationRule(guildId: Snowflake, body: RESTPostAPIAutoModerationRuleJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1112
1113
  /**
1113
1114
  * Edits an auto moderation rule for a guild
1114
1115
  *
@@ -1118,7 +1119,7 @@ declare class GuildsAPI {
1118
1119
  * @param body - The data for editing the auto moderation rule
1119
1120
  * @param options - The options for editing the auto moderation rule
1120
1121
  */
1121
- editAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, body: RESTPatchAPIAutoModerationRuleJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1122
+ editAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, body: RESTPatchAPIAutoModerationRuleJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIAutoModerationRule>;
1122
1123
  /**
1123
1124
  * Deletes an auto moderation rule for a guild
1124
1125
  *
@@ -1127,7 +1128,7 @@ declare class GuildsAPI {
1127
1128
  * @param ruleId - The id of the auto moderation rule to delete
1128
1129
  * @param options - The options for deleting the auto moderation rule
1129
1130
  */
1130
- deleteAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1131
+ deleteAutoModerationRule(guildId: Snowflake, ruleId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1131
1132
  /**
1132
1133
  * Fetches a guild member
1133
1134
  *
@@ -1136,7 +1137,7 @@ declare class GuildsAPI {
1136
1137
  * @param userId - The id of the user
1137
1138
  * @param options - The options for fetching the guild member
1138
1139
  */
1139
- getMember(guildId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
1140
+ getMember(guildId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
1140
1141
  /**
1141
1142
  * Searches for guild members
1142
1143
  *
@@ -1145,7 +1146,7 @@ declare class GuildsAPI {
1145
1146
  * @param query - The query to search for
1146
1147
  * @param options - The options for searching for guild members
1147
1148
  */
1148
- searchForMembers(guildId: Snowflake, query: RESTGetAPIGuildMembersSearchQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildMembersSearchResult>;
1149
+ searchForMembers(guildId: Snowflake, query: RESTGetAPIGuildMembersSearchQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildMembersSearchResult>;
1149
1150
  /**
1150
1151
  * Edits a guild member
1151
1152
  *
@@ -1155,7 +1156,7 @@ declare class GuildsAPI {
1155
1156
  * @param body - The data for editing the guild member
1156
1157
  * @param options - The options for editing the guild member
1157
1158
  */
1158
- editMember(guildId: Snowflake, userId: Snowflake, body?: RESTPatchAPIGuildMemberJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
1159
+ editMember(guildId: Snowflake, userId: Snowflake, body?: RESTPatchAPIGuildMemberJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
1159
1160
  /**
1160
1161
  * Removes a member from a guild
1161
1162
  *
@@ -1164,7 +1165,7 @@ declare class GuildsAPI {
1164
1165
  * @param userId - The id of the user
1165
1166
  * @param options - The options for removing the guild member
1166
1167
  */
1167
- removeMember(guildId: Snowflake, userId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<unknown>;
1168
+ removeMember(guildId: Snowflake, userId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<unknown>;
1168
1169
  /**
1169
1170
  * Adds a role to a guild member
1170
1171
  *
@@ -1174,7 +1175,7 @@ declare class GuildsAPI {
1174
1175
  * @param roleId - The id of the role
1175
1176
  * @param options - The options for adding a role to a guild member
1176
1177
  */
1177
- addRoleToMember(guildId: Snowflake, userId: Snowflake, roleId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1178
+ addRoleToMember(guildId: Snowflake, userId: Snowflake, roleId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1178
1179
  /**
1179
1180
  * Removes a role from a guild member
1180
1181
  *
@@ -1184,7 +1185,7 @@ declare class GuildsAPI {
1184
1185
  * @param roleId - The id of the role
1185
1186
  * @param options - The options for removing a role from a guild member
1186
1187
  */
1187
- removeRoleFromMember(guildId: Snowflake, userId: Snowflake, roleId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1188
+ removeRoleFromMember(guildId: Snowflake, userId: Snowflake, roleId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1188
1189
  /**
1189
1190
  * Fetches a guild template
1190
1191
  *
@@ -1192,7 +1193,7 @@ declare class GuildsAPI {
1192
1193
  * @param templateCode - The code of the template
1193
1194
  * @param options - The options for fetching the guild template
1194
1195
  */
1195
- getTemplate(templateCode: string, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1196
+ getTemplate(templateCode: string, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1196
1197
  /**
1197
1198
  * Creates a new template
1198
1199
  *
@@ -1201,14 +1202,15 @@ declare class GuildsAPI {
1201
1202
  * @param body - The data for creating the template
1202
1203
  * @param options - The options for creating the template
1203
1204
  */
1204
- createTemplate(templateCode: string, body: RESTPostAPIGuildTemplatesJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1205
+ createTemplate(templateCode: string, body: RESTPostAPIGuildTemplatesJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APITemplate>;
1205
1206
  /**
1206
1207
  * Fetches webhooks for a guild
1207
1208
  *
1208
1209
  * @see {@link https://discord.com/developers/docs/resources/webhook#get-guild-webhooks}
1209
1210
  * @param id - The id of the guild
1211
+ * @param options - The options for fetching the webhooks
1210
1212
  */
1211
- getWebhooks(id: Snowflake): Promise<RESTGetAPIGuildWebhooksResult>;
1213
+ getWebhooks(id: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildWebhooksResult>;
1212
1214
  /**
1213
1215
  * Fetches a guild onboarding
1214
1216
  *
@@ -1216,7 +1218,7 @@ declare class GuildsAPI {
1216
1218
  * @param guildId - The id of the guild
1217
1219
  * @param options - The options for fetching the guild onboarding
1218
1220
  */
1219
- getOnboarding(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildOnboarding>;
1221
+ getOnboarding(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildOnboarding>;
1220
1222
  /**
1221
1223
  * Edits a guild onboarding
1222
1224
  *
@@ -1225,7 +1227,7 @@ declare class GuildsAPI {
1225
1227
  * @param body - The data for editing the guild onboarding
1226
1228
  * @param options - The options for editing the guild onboarding
1227
1229
  */
1228
- editOnboarding(guildId: Snowflake, body: RESTPutAPIGuildOnboardingJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildOnboarding>;
1230
+ editOnboarding(guildId: Snowflake, body: RESTPutAPIGuildOnboardingJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildOnboarding>;
1229
1231
  /**
1230
1232
  * Fetches all the soundboard sounds for a guild
1231
1233
  *
@@ -1233,7 +1235,7 @@ declare class GuildsAPI {
1233
1235
  * @param guildId - The id of the guild to fetch the soundboard sounds for
1234
1236
  * @param options - The options for fetching the soundboard sounds
1235
1237
  */
1236
- getSoundboardSounds(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIGuildSoundboardSoundsResult>;
1238
+ getSoundboardSounds(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIGuildSoundboardSoundsResult>;
1237
1239
  /**
1238
1240
  * Fetches a soundboard sound for a guild
1239
1241
  *
@@ -1242,7 +1244,7 @@ declare class GuildsAPI {
1242
1244
  * @param soundId - The id of the soundboard sound to fetch
1243
1245
  * @param options - The options for fetching the soundboard sound
1244
1246
  */
1245
- getSoundboardSound(guildId: Snowflake, soundId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1247
+ getSoundboardSound(guildId: Snowflake, soundId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1246
1248
  /**
1247
1249
  * Creates a new soundboard sound for a guild
1248
1250
  *
@@ -1251,7 +1253,7 @@ declare class GuildsAPI {
1251
1253
  * @param body - The data for creating the soundboard sound
1252
1254
  * @param options - The options for creating the soundboard sound
1253
1255
  */
1254
- createSoundboardSound(guildId: Snowflake, body: RESTPostAPIGuildSoundboardSoundJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1256
+ createSoundboardSound(guildId: Snowflake, body: RESTPostAPIGuildSoundboardSoundJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1255
1257
  /**
1256
1258
  * Edits a soundboard sound for a guild
1257
1259
  *
@@ -1261,7 +1263,7 @@ declare class GuildsAPI {
1261
1263
  * @param body - The data for editing the soundboard sound
1262
1264
  * @param options - The options for editing the soundboard sound
1263
1265
  */
1264
- editSoundboardSound(guildId: Snowflake, soundId: Snowflake, body: RESTPatchAPIGuildSoundboardSoundJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1266
+ editSoundboardSound(guildId: Snowflake, soundId: Snowflake, body: RESTPatchAPIGuildSoundboardSoundJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APISoundboardSound>;
1265
1267
  /**
1266
1268
  * Deletes a soundboard sound for a guild
1267
1269
  *
@@ -1270,7 +1272,7 @@ declare class GuildsAPI {
1270
1272
  * @param soundId - The id of the soundboard sound to delete
1271
1273
  * @param options - The options for deleting the soundboard sound
1272
1274
  */
1273
- deleteSoundboardSound(guildId: Snowflake, soundId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1275
+ deleteSoundboardSound(guildId: Snowflake, soundId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1274
1276
  }
1275
1277
 
1276
1278
  type CreateWebhookMessageOptions = RESTPostAPIWebhookWithTokenJSONBody & RESTPostAPIWebhookWithTokenQuery & {
@@ -1665,6 +1667,40 @@ declare class InteractionsAPI {
1665
1667
  * @param options - The options for sending the modal
1666
1668
  */
1667
1669
  createModal(interactionId: Snowflake, interactionToken: string, callbackData: CreateModalResponseOptions, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult | undefined>;
1670
+ /**
1671
+ * Launches an activity and returns an interaction callback object
1672
+ *
1673
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1674
+ * @param interactionId - The id of the interaction
1675
+ * @param interactionToken - The token of the interaction
1676
+ * @param body - The callback data for launching the activity
1677
+ * @param options - The options for launching the activity
1678
+ */
1679
+ launchActivity(interactionId: Snowflake, interactionToken: string, body: RESTPostAPIInteractionCallbackQuery & {
1680
+ with_response: true;
1681
+ }, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult>;
1682
+ /**
1683
+ * Launches an activity
1684
+ *
1685
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1686
+ * @param interactionId - The id of the interaction
1687
+ * @param interactionToken - The token of the interaction
1688
+ * @param body - The callback data for launching the activity
1689
+ * @param options - The options for launching the activity
1690
+ */
1691
+ launchActivity(interactionId: Snowflake, interactionToken: string, body?: RESTPostAPIInteractionCallbackQuery & {
1692
+ with_response?: false;
1693
+ }, options?: Pick<RequestData, 'signal'>): Promise<undefined>;
1694
+ /**
1695
+ * Launches an activity
1696
+ *
1697
+ * @see {@link https://discord.com/developers/docs/interactions/receiving-and-responding#create-interaction-response}
1698
+ * @param interactionId - The id of the interaction
1699
+ * @param interactionToken - The token of the interaction
1700
+ * @param body - The callback data for launching the activity
1701
+ * @param options - The options for launching the activity
1702
+ */
1703
+ launchActivity(interactionId: Snowflake, interactionToken: string, body?: RESTPostAPIInteractionCallbackQuery, options?: Pick<RequestData, 'signal'>): Promise<RESTPostAPIInteractionCallbackWithResponseResult | undefined>;
1668
1704
  }
1669
1705
 
1670
1706
  declare class InvitesAPI {
@@ -1678,7 +1714,7 @@ declare class InvitesAPI {
1678
1714
  * @param query - The options for fetching the invite
1679
1715
  * @param options - The options for fetching the invite
1680
1716
  */
1681
- get(code: string, query?: RESTGetAPIInviteQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIInvite>;
1717
+ get(code: string, query?: RESTGetAPIInviteQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIInvite>;
1682
1718
  /**
1683
1719
  * Deletes an invite
1684
1720
  *
@@ -1686,7 +1722,7 @@ declare class InvitesAPI {
1686
1722
  * @param code - The invite code
1687
1723
  * @param options - The options for deleting the invite
1688
1724
  */
1689
- delete(code: string, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1725
+ delete(code: string, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1690
1726
  }
1691
1727
 
1692
1728
  declare class MonetizationAPI {
@@ -1699,7 +1735,7 @@ declare class MonetizationAPI {
1699
1735
  * @param applicationId - The application id to fetch SKUs for
1700
1736
  * @param options - The options for fetching the SKUs.
1701
1737
  */
1702
- getSKUs(applicationId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPISKUsResult>;
1738
+ getSKUs(applicationId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPISKUsResult>;
1703
1739
  /**
1704
1740
  * Fetches subscriptions for an SKU.
1705
1741
  *
@@ -1708,7 +1744,7 @@ declare class MonetizationAPI {
1708
1744
  * @param query - The query options for fetching subscriptions
1709
1745
  * @param options - The options for fetching subscriptions
1710
1746
  */
1711
- getSKUSubscriptions(skuId: Snowflake, query?: RESTGetAPISKUSubscriptionsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPISKUSubscriptionsResult>;
1747
+ getSKUSubscriptions(skuId: Snowflake, query?: RESTGetAPISKUSubscriptionsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPISKUSubscriptionsResult>;
1712
1748
  /**
1713
1749
  * Fetches a subscription for an SKU.
1714
1750
  *
@@ -1717,7 +1753,7 @@ declare class MonetizationAPI {
1717
1753
  * @param subscriptionId - The subscription id to fetch
1718
1754
  * @param options - The options for fetching the subscription
1719
1755
  */
1720
- getSKUSubscription(skuId: Snowflake, subscriptionId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APISubscription>;
1756
+ getSKUSubscription(skuId: Snowflake, subscriptionId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APISubscription>;
1721
1757
  /**
1722
1758
  * Fetches the entitlements for an application.
1723
1759
  *
@@ -1726,7 +1762,7 @@ declare class MonetizationAPI {
1726
1762
  * @param query - The query options for fetching entitlements
1727
1763
  * @param options - The options for fetching entitlements
1728
1764
  */
1729
- getEntitlements(applicationId: Snowflake, query?: RESTGetAPIEntitlementsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIEntitlementsResult>;
1765
+ getEntitlements(applicationId: Snowflake, query?: RESTGetAPIEntitlementsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIEntitlementsResult>;
1730
1766
  /**
1731
1767
  * Fetches an entitlement for an application.
1732
1768
  *
@@ -1735,7 +1771,7 @@ declare class MonetizationAPI {
1735
1771
  * @param entitlementId - The entitlement id to fetch
1736
1772
  * @param options - The options for fetching the entitlement
1737
1773
  */
1738
- getEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIEntitlement>;
1774
+ getEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIEntitlement>;
1739
1775
  /**
1740
1776
  * Creates a test entitlement for an application's SKU.
1741
1777
  *
@@ -1744,7 +1780,7 @@ declare class MonetizationAPI {
1744
1780
  * @param body - The data for creating the entitlement
1745
1781
  * @param options - The options for creating the entitlement
1746
1782
  */
1747
- createTestEntitlement(applicationId: Snowflake, body: RESTPostAPIEntitlementJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<Partial<Omit<discord_api_types_v10.APIEntitlement, "ends_at" | "starts_at">>>;
1783
+ createTestEntitlement(applicationId: Snowflake, body: RESTPostAPIEntitlementJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<Partial<Omit<discord_api_types_v10.APIEntitlement, "ends_at" | "starts_at">>>;
1748
1784
  /**
1749
1785
  * Deletes a test entitlement for an application's SKU.
1750
1786
  *
@@ -1753,7 +1789,7 @@ declare class MonetizationAPI {
1753
1789
  * @param entitlementId - The entitlement id to delete
1754
1790
  * @param options - The options for deleting the entitlement
1755
1791
  */
1756
- deleteTestEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
1792
+ deleteTestEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1757
1793
  /**
1758
1794
  * Marks a given entitlement for the user as consumed. Only available for One-Time Purchase consumable SKUs.
1759
1795
  *
@@ -1762,7 +1798,7 @@ declare class MonetizationAPI {
1762
1798
  * @param entitlementId - The entitlement id to consume
1763
1799
  * @param options - The options for consuming the entitlement
1764
1800
  */
1765
- consumeEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
1801
+ consumeEntitlement(applicationId: Snowflake, entitlementId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1766
1802
  }
1767
1803
 
1768
1804
  declare class OAuth2API {
@@ -1807,14 +1843,14 @@ declare class OAuth2API {
1807
1843
  * @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-bot-application-information}
1808
1844
  * @param options - The options for the current bot application information request
1809
1845
  */
1810
- getCurrentBotApplicationInformation({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIOAuth2CurrentApplicationResult>;
1846
+ getCurrentBotApplicationInformation({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIOAuth2CurrentApplicationResult>;
1811
1847
  /**
1812
1848
  * Fetches the current authorization information
1813
1849
  *
1814
1850
  * @see {@link https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information}
1815
1851
  * @param options - The options for the current authorization information request
1816
1852
  */
1817
- getCurrentAuthorizationInformation({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIOAuth2CurrentAuthorizationResult>;
1853
+ getCurrentAuthorizationInformation({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIOAuth2CurrentAuthorizationResult>;
1818
1854
  /**
1819
1855
  * Revokes an OAuth2 token
1820
1856
  *
@@ -1840,7 +1876,7 @@ declare class PollAPI {
1840
1876
  * @param query - The query for getting the list of voters
1841
1877
  * @param options - The options for getting the list of voters
1842
1878
  */
1843
- getAnswerVoters(channelId: Snowflake, messageId: Snowflake, answerId: number, query?: RESTGetAPIPollAnswerVotersQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIPollAnswerVotersResult>;
1879
+ getAnswerVoters(channelId: Snowflake, messageId: Snowflake, answerId: number, query?: RESTGetAPIPollAnswerVotersQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIPollAnswerVotersResult>;
1844
1880
  /**
1845
1881
  * Immediately expires (i.e. ends) a poll
1846
1882
  *
@@ -1849,7 +1885,7 @@ declare class PollAPI {
1849
1885
  * @param messageId - The id of the message containing the poll
1850
1886
  * @param options - The options for expiring the poll
1851
1887
  */
1852
- expirePoll(channelId: Snowflake, messageId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIMessage>;
1888
+ expirePoll(channelId: Snowflake, messageId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIMessage>;
1853
1889
  }
1854
1890
 
1855
1891
  declare class RoleConnectionsAPI {
@@ -1862,7 +1898,7 @@ declare class RoleConnectionsAPI {
1862
1898
  * @param applicationId - The id of the application to get role connection metadata records for
1863
1899
  * @param options - The options for fetching the role connection metadata records
1864
1900
  */
1865
- getMetadataRecords(applicationId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIApplicationRoleConnectionMetadataResult>;
1901
+ getMetadataRecords(applicationId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIApplicationRoleConnectionMetadataResult>;
1866
1902
  /**
1867
1903
  * Updates the role connection metadata records for the application
1868
1904
  *
@@ -1871,7 +1907,7 @@ declare class RoleConnectionsAPI {
1871
1907
  * @param body - The new role connection metadata records
1872
1908
  * @param options - The options for updating the role connection metadata records
1873
1909
  */
1874
- updateMetadataRecords(applicationId: Snowflake, body: RESTPutAPIApplicationRoleConnectionMetadataJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTPutAPIApplicationRoleConnectionMetadataResult>;
1910
+ updateMetadataRecords(applicationId: Snowflake, body: RESTPutAPIApplicationRoleConnectionMetadataJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTPutAPIApplicationRoleConnectionMetadataResult>;
1875
1911
  }
1876
1912
 
1877
1913
  declare class SoundboardSoundsAPI {
@@ -1883,7 +1919,7 @@ declare class SoundboardSoundsAPI {
1883
1919
  * @see {@link https://discord.com/developers/docs/resources/soundboard#list-default-soundboard-sounds}
1884
1920
  * @param options - The options for fetching the soundboard default sounds.
1885
1921
  */
1886
- getSoundboardDefaultSounds({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPISoundboardDefaultSoundsResult>;
1922
+ getSoundboardDefaultSounds({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPISoundboardDefaultSoundsResult>;
1887
1923
  }
1888
1924
 
1889
1925
  declare class StageInstancesAPI {
@@ -1896,7 +1932,7 @@ declare class StageInstancesAPI {
1896
1932
  * @param body - The data for creating the new stage instance
1897
1933
  * @param options - The options for creating the new stage instance
1898
1934
  */
1899
- create(body: RESTPostAPIStageInstanceJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1935
+ create(body: RESTPostAPIStageInstanceJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1900
1936
  /**
1901
1937
  * Fetches a stage instance
1902
1938
  *
@@ -1904,7 +1940,7 @@ declare class StageInstancesAPI {
1904
1940
  * @param channelId - The id of the channel
1905
1941
  * @param options - The options for fetching the stage instance
1906
1942
  */
1907
- get(channelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1943
+ get(channelId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1908
1944
  /**
1909
1945
  * Edits a stage instance
1910
1946
  *
@@ -1913,7 +1949,7 @@ declare class StageInstancesAPI {
1913
1949
  * @param body - The new stage instance data
1914
1950
  * @param options - The options for editing the stage instance
1915
1951
  */
1916
- edit(channelId: Snowflake, body: RESTPatchAPIStageInstanceJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1952
+ edit(channelId: Snowflake, body: RESTPatchAPIStageInstanceJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIStageInstance>;
1917
1953
  /**
1918
1954
  * Deletes a stage instance
1919
1955
  *
@@ -1921,7 +1957,7 @@ declare class StageInstancesAPI {
1921
1957
  * @param channelId - The id of the channel
1922
1958
  * @param options - The options for deleting the stage instance
1923
1959
  */
1924
- delete(channelId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<void>;
1960
+ delete(channelId: Snowflake, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<void>;
1925
1961
  }
1926
1962
 
1927
1963
  declare class StickersAPI {
@@ -1934,14 +1970,14 @@ declare class StickersAPI {
1934
1970
  * @param packId - The id of the sticker pack
1935
1971
  * @param options - The options for fetching the sticker pack
1936
1972
  */
1937
- getStickerPack(packId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIStickerPack>;
1973
+ getStickerPack(packId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIStickerPack>;
1938
1974
  /**
1939
1975
  * Fetches all of the sticker packs
1940
1976
  *
1941
1977
  * @see {@link https://discord.com/developers/docs/resources/sticker#list-sticker-packs}
1942
1978
  * @param options - The options for fetching the sticker packs
1943
1979
  */
1944
- getStickers({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetStickerPacksResult>;
1980
+ getStickers({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetStickerPacksResult>;
1945
1981
  /**
1946
1982
  * Fetches a sticker
1947
1983
  *
@@ -1949,7 +1985,7 @@ declare class StickersAPI {
1949
1985
  * @param stickerId - The id of the sticker
1950
1986
  * @param options - The options for fetching the sticker
1951
1987
  */
1952
- get(stickerId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APISticker>;
1988
+ get(stickerId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APISticker>;
1953
1989
  }
1954
1990
 
1955
1991
  declare class ThreadsAPI {
@@ -1962,7 +1998,7 @@ declare class ThreadsAPI {
1962
1998
  * @param threadId - The id of the thread to join
1963
1999
  * @param options - The options for joining the thread
1964
2000
  */
1965
- join(threadId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
2001
+ join(threadId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1966
2002
  /**
1967
2003
  * Adds a member to a thread
1968
2004
  *
@@ -1971,7 +2007,7 @@ declare class ThreadsAPI {
1971
2007
  * @param userId - The id of the user to add to the thread
1972
2008
  * @param options - The options for adding the member to the thread
1973
2009
  */
1974
- addMember(threadId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
2010
+ addMember(threadId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1975
2011
  /**
1976
2012
  * Removes the current user from a thread
1977
2013
  *
@@ -1979,7 +2015,7 @@ declare class ThreadsAPI {
1979
2015
  * @param threadId - The id of the thread to leave
1980
2016
  * @param options - The options for leaving the thread
1981
2017
  */
1982
- leave(threadId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
2018
+ leave(threadId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1983
2019
  /**
1984
2020
  * Removes a member from a thread
1985
2021
  *
@@ -1988,7 +2024,7 @@ declare class ThreadsAPI {
1988
2024
  * @param userId - The id of the user to remove from the thread
1989
2025
  * @param options - The options for removing the member from the thread
1990
2026
  */
1991
- removeMember(threadId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
2027
+ removeMember(threadId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
1992
2028
  /**
1993
2029
  * Fetches a member of a thread
1994
2030
  *
@@ -1997,7 +2033,7 @@ declare class ThreadsAPI {
1997
2033
  * @param userId - The id of the user
1998
2034
  * @param options - The options for fetching the member
1999
2035
  */
2000
- getMember(threadId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<APIThreadMember>;
2036
+ getMember(threadId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<APIThreadMember>;
2001
2037
  /**
2002
2038
  * Fetches all members of a thread
2003
2039
  *
@@ -2005,7 +2041,7 @@ declare class ThreadsAPI {
2005
2041
  * @param threadId - The id of the thread to fetch the members from
2006
2042
  * @param options - The options for fetching the members
2007
2043
  */
2008
- getAllMembers(threadId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIChannelThreadMembersResult>;
2044
+ getAllMembers(threadId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIChannelThreadMembersResult>;
2009
2045
  }
2010
2046
 
2011
2047
  declare class UsersAPI {
@@ -2018,14 +2054,14 @@ declare class UsersAPI {
2018
2054
  * @param userId - The id of the user to fetch
2019
2055
  * @param options - The options for fetching the user
2020
2056
  */
2021
- get(userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIUser>;
2057
+ get(userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIUser>;
2022
2058
  /**
2023
2059
  * Returns the user object of the requester's account
2024
2060
  *
2025
2061
  * @see {@link https://discord.com/developers/docs/resources/user#get-current-user}
2026
2062
  * @param options - The options for fetching the current user
2027
2063
  */
2028
- getCurrent({ signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIUser>;
2064
+ getCurrent({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIUser>;
2029
2065
  /**
2030
2066
  * Returns a list of partial guild objects the current user is a member of
2031
2067
  *
@@ -2033,7 +2069,7 @@ declare class UsersAPI {
2033
2069
  * @param query - The query options for fetching the current user's guilds
2034
2070
  * @param options - The options for fetching the guilds
2035
2071
  */
2036
- getGuilds(query?: RESTGetAPICurrentUserGuildsQuery, { signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPICurrentUserGuildsResult>;
2072
+ getGuilds(query?: RESTGetAPICurrentUserGuildsQuery, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPICurrentUserGuildsResult>;
2037
2073
  /**
2038
2074
  * Leaves the guild with the given id
2039
2075
  *
@@ -2041,7 +2077,7 @@ declare class UsersAPI {
2041
2077
  * @param guildId - The id of the guild
2042
2078
  * @param options - The options for leaving the guild
2043
2079
  */
2044
- leaveGuild(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<void>;
2080
+ leaveGuild(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<void>;
2045
2081
  /**
2046
2082
  * Edits the current user
2047
2083
  *
@@ -2049,7 +2085,7 @@ declare class UsersAPI {
2049
2085
  * @param body - The new data for the current user
2050
2086
  * @param options - The options for editing the user
2051
2087
  */
2052
- edit(body: RESTPatchAPICurrentUserJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIUser>;
2088
+ edit(body: RESTPatchAPICurrentUserJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIUser>;
2053
2089
  /**
2054
2090
  * Fetches the guild member for the current user
2055
2091
  *
@@ -2057,7 +2093,7 @@ declare class UsersAPI {
2057
2093
  * @param guildId - The id of the guild
2058
2094
  * @param options - The options for fetching the guild member
2059
2095
  */
2060
- getGuildMember(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
2096
+ getGuildMember(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
2061
2097
  /**
2062
2098
  * Edits the guild member for the current user
2063
2099
  *
@@ -2066,7 +2102,7 @@ declare class UsersAPI {
2066
2102
  * @param body - The new data for the guild member
2067
2103
  * @param options - The options for editing the guild member
2068
2104
  */
2069
- editCurrentGuildMember(guildId: Snowflake, body?: RESTPatchAPIGuildMemberJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
2105
+ editCurrentGuildMember(guildId: Snowflake, body?: RESTPatchAPIGuildMemberJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<discord_api_types_v10.APIGuildMember>;
2070
2106
  /**
2071
2107
  * Opens a new DM channel with a user
2072
2108
  *
@@ -2074,14 +2110,14 @@ declare class UsersAPI {
2074
2110
  * @param userId - The id of the user to open a DM channel with
2075
2111
  * @param options - The options for opening the DM
2076
2112
  */
2077
- createDM(userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIChannel>;
2113
+ createDM(userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIChannel>;
2078
2114
  /**
2079
2115
  * Gets the current user's connections
2080
2116
  *
2081
2117
  * @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}
2082
2118
  * @param options - The options for fetching the user's connections
2083
2119
  */
2084
- getConnections({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPICurrentUserConnectionsResult>;
2120
+ getConnections({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPICurrentUserConnectionsResult>;
2085
2121
  /**
2086
2122
  * Gets the current user's active application role connection
2087
2123
  *
@@ -2089,7 +2125,7 @@ declare class UsersAPI {
2089
2125
  * @param applicationId - The id of the application
2090
2126
  * @param options - The options for fetching the role connections
2091
2127
  */
2092
- getApplicationRoleConnection(applicationId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplicationRoleConnection>;
2128
+ getApplicationRoleConnection(applicationId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationRoleConnection>;
2093
2129
  /**
2094
2130
  * Updates the current user's application role connection
2095
2131
  *
@@ -2098,7 +2134,7 @@ declare class UsersAPI {
2098
2134
  * @param body - The data for updating the application role connection
2099
2135
  * @param options - The options for updating the application role connection
2100
2136
  */
2101
- updateApplicationRoleConnection(applicationId: Snowflake, body: RESTPutAPICurrentUserApplicationRoleConnectionJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIApplicationRoleConnection>;
2137
+ updateApplicationRoleConnection(applicationId: Snowflake, body: RESTPutAPICurrentUserApplicationRoleConnectionJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIApplicationRoleConnection>;
2102
2138
  }
2103
2139
 
2104
2140
  declare class VoiceAPI {
@@ -2110,21 +2146,21 @@ declare class VoiceAPI {
2110
2146
  * @see {@link https://discord.com/developers/docs/resources/voice#list-voice-regions}
2111
2147
  * @param options - The options for fetching the voice regions
2112
2148
  */
2113
- getVoiceRegions({ signal }?: Pick<RequestData, 'signal'>): Promise<RESTGetAPIVoiceRegionsResult>;
2149
+ getVoiceRegions({ auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<RESTGetAPIVoiceRegionsResult>;
2114
2150
  /**
2115
2151
  * Fetches voice state of a user by their id
2116
2152
  *
2117
2153
  * @see {@link https://discord.com/developers/docs/resources/voice#get-user-voice-state}
2118
2154
  * @param options - The options for fetching user voice state
2119
2155
  */
2120
- getUserVoiceState(guildId: Snowflake, userId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIVoiceState>;
2156
+ getUserVoiceState(guildId: Snowflake, userId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIVoiceState>;
2121
2157
  /**
2122
2158
  * Fetches the current user's voice state
2123
2159
  *
2124
2160
  * @see {@link https://discord.com/developers/docs/resources/voice#get-current-user-voice-state}
2125
2161
  * @param options - The options for fetching user voice state
2126
2162
  */
2127
- getVoiceState(guildId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIVoiceState>;
2163
+ getVoiceState(guildId: Snowflake, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<discord_api_types_v10.APIVoiceState>;
2128
2164
  /**
2129
2165
  * Edits a user's voice state in a guild
2130
2166
  *
@@ -2134,7 +2170,7 @@ declare class VoiceAPI {
2134
2170
  * @param body - The data for editing the voice state
2135
2171
  * @param options - The options for editing the voice state
2136
2172
  */
2137
- editUserVoiceState(guildId: Snowflake, userId: Snowflake, body: RESTPatchAPIGuildVoiceStateUserJSONBody, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<never>;
2173
+ editUserVoiceState(guildId: Snowflake, userId: Snowflake, body: RESTPatchAPIGuildVoiceStateUserJSONBody, { auth, reason, signal }?: Pick<RequestData, 'auth' | 'reason' | 'signal'>): Promise<never>;
2138
2174
  /**
2139
2175
  * Edits the voice state for the current user
2140
2176
  *
@@ -2143,7 +2179,7 @@ declare class VoiceAPI {
2143
2179
  * @param body - The data for editing the voice state
2144
2180
  * @param options - The options for editing the voice state
2145
2181
  */
2146
- editVoiceState(guildId: Snowflake, body?: RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody, { signal }?: Pick<RequestData, 'signal'>): Promise<never>;
2182
+ editVoiceState(guildId: Snowflake, body?: RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody, { auth, signal }?: Pick<RequestData, 'auth' | 'signal'>): Promise<never>;
2147
2183
  }
2148
2184
 
2149
2185
  declare class API {