mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat: add auth option in api methods (#10717)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -295,7 +295,7 @@ export interface RequestData {
|
||||
*
|
||||
* @defaultValue `true`
|
||||
*/
|
||||
auth?: AuthData | boolean;
|
||||
auth?: AuthData | boolean | undefined;
|
||||
/**
|
||||
* The body to send to this request.
|
||||
* If providing as BodyInit, set `passThroughBody: true`
|
||||
|
||||
Reference in New Issue
Block a user