Interface MessageReactionTypes

interface MessageReactionTypes {
    emoji: {
        id: number;
        name: string;
        serverId?: string;
        url: string;
    };
    message: Message<TextChannel> | {
        channelID: string;
        guild: Guild | {
            id?: string;
        };
        id: string;
    };
    reactor: Member | {
        id: string;
    };
}

Properties

Properties

emoji: {
    id: number;
    name: string;
    serverId?: string;
    url: string;
}

Type declaration

  • id: number

    Emote ID

    The ID of the emote

  • name: string

    Name

    The name of the emote

  • OptionalserverId?: string

    Server ID

    The ID of the server the emote was created on

  • url: string

    Emote URL Format: media-uri

    The URL of the emote image

message: Message<TextChannel> | {
    channelID: string;
    guild: Guild | {
        id?: string;
    };
    id: string;
}
reactor: Member | {
    id: string;
}