swc/crates/swc_bundler/tests/.cache/deno/752e2e37f1bf1a2e0b768bebead54dd647892308.ts
2021-11-09 20:42:49 +09:00

27 lines
856 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/members/guild_member_update.ts
import { User } from "../users/user.ts";
/** https://discord.com/developers/docs/topics/gateway#guild-member-update */
export interface GuildMemberUpdate {
/** The id of the guild */
guildId: string;
/** User role ids */
roles: string[];
/** The user */
user: User;
/** Nickname of the user in the guild */
nick?: string | null;
/** When the user joined the guild */
joinedAt: string | null;
/** When the user starting boosting the guild */
premiumSince?: string | null;
/** Whether the user has not yet passed the guild's Membership Screening requirements */
pending?: boolean;
/** whether the user is deafened in voice channels */
deaf?: boolean;
/** whether the user is muted in voice channels */
mute?: boolean;
}