swc/bundler/tests/.cache/deno/c255b3bd25f24ca867670a8505282d8fd7a74586.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

22 lines
682 B
TypeScript

// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/messages/message_reaction_add.ts
import { Emoji } from "../emojis/emoji.ts";
import { GuildMemberWithUser } from "../members/guild_member.ts";
/** https://discord.com/developers/docs/topics/gateway#message-reaction-add */
export interface MessageReactionAdd {
/** The id of the user */
userId: string;
/** The id of the channel */
channelId: string;
/** The id of the message */
messageId: string;
/** The id of the guild */
guildId?: string;
/** The member who reacted if this happened in a guild */
member?: GuildMemberWithUser;
/** The emoji used to react */
emoji: Partial<Emoji>;
}