mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 10:37:56 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
22 lines
682 B
TypeScript
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>;
|
|
}
|