diff --git a/src/structures/interfaces/Application.js b/src/structures/interfaces/Application.js index c45f24a..4d3d2c7 100644 --- a/src/structures/interfaces/Application.js +++ b/src/structures/interfaces/Application.js @@ -78,7 +78,7 @@ class Application extends Base { /** * 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 {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 * @returns nothing :) */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 5e2f8ca..a7bf9ea 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -337,7 +337,7 @@ export abstract class Application extends Base { public coverURL(options?: StaticImageURLOptions): string | null; /** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */ public fetchAssets(): Promise; - 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 toJSON(): unknown; public toString(): string | null;