feat(interaction): add appPermissions (v13)

v13.9.0 #8195
This commit is contained in:
Cinnamon
2022-07-01 10:02:36 +07:00
parent 354fe2a7be
commit d60132a011
2 changed files with 7 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -1453,6 +1453,7 @@ export class Interaction<Cached extends CacheType = CacheType> extends Base {
public type: InteractionType;
public user: User;
public version: number;
public appPermissions: Readonly<Permissions> | null;
public memberPermissions: CacheTypeReducer<Cached, Readonly<Permissions>>;
public locale: string;
public guildLocale: CacheTypeReducer<Cached, string, string, string>;