mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
feat(Interaction): add memberPermissions (#6741)
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com> Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1056,6 +1056,7 @@ export class Interaction extends Base {
|
||||
public type: InteractionType;
|
||||
public user: User;
|
||||
public version: number;
|
||||
public memberPermissions: Readonly<Permissions> | null;
|
||||
public inGuild(): this is this & {
|
||||
guildId: Snowflake;
|
||||
member: GuildMember | APIInteractionGuildMember;
|
||||
|
||||
Reference in New Issue
Block a user