change permissions to bigint

This commit is contained in:
TheDevYellowy 2022-08-01 10:05:39 -05:00
parent 6028e2a63d
commit 8fc282f2eb
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class Application extends Base {
/** /**
* Invites this application to a guild / server * Invites this application to a guild / server
* @param {string} guild_id The id of the guild that you want to invite the bot to * @param {string} guild_id The id of the guild that you want to invite the bot to
* @param {number} [permissions] The permissions for the bot in number form (the default is 8 / Administrator) * @param {bigint} [permissions] The permissions for the bot in number form (the default is 8 / Administrator)
* @param {string} [captcha] The captcha key to add * @param {string} [captcha] The captcha key to add
* @returns nothing :) * @returns nothing :)
*/ */

2
typings/index.d.ts vendored
View File

@ -337,7 +337,7 @@ export abstract class Application extends Base {
public coverURL(options?: StaticImageURLOptions): string | null; public coverURL(options?: StaticImageURLOptions): string | null;
/** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */ /** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */
public fetchAssets(): Promise<ApplicationAsset[]>; public fetchAssets(): Promise<ApplicationAsset[]>;
public invite(guildID: string, permissions: number, captcha: string): null; public invite(guildID: string, permissions: bigint, captcha: string): null;
public iconURL(options?: StaticImageURLOptions): string | null; public iconURL(options?: StaticImageURLOptions): string | null;
public toJSON(): unknown; public toJSON(): unknown;
public toString(): string | null; public toString(): string | null;