Skip to content

Commit 6c2242f

Browse files
types(BaseInteraction): appPermissions not null in guilds (#9601)
types(BaseInteraction): allow `appPermissions` only in guilds Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 75308f2 commit 6c2242f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ export class BaseInteraction<Cached extends CacheType = CacheType> extends Base
17641764
public type: InteractionType;
17651765
public user: User;
17661766
public version: number;
1767-
public appPermissions: Readonly<PermissionsBitField> | null;
1767+
public appPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>>;
17681768
public memberPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>>;
17691769
public locale: Locale;
17701770
public guildLocale: CacheTypeReducer<Cached, Locale>;

0 commit comments

Comments
 (0)