swc/bundler/tests/.cache/deno/752e2e37f1bf1a2e0b768bebead54dd647892308.ts
강동윤 d60c3242af
fix(swc): Fix bugs (#1739)
swc_bundler:
 - Fix cycle detection for complex circular imports. (denoland/deno#10752)

swc_ecma_transforms_typescript:
 - Allow using large values for an enum variant.
2021-05-25 14:30:17 +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;
}