revbot.js
    Preparing search index...

    Interface MessageOptions

    interface MessageOptions {
        attachments?: string[] | Readable[] | File[];
        content?: string;
        embeds?: MessageEmbed[];
        masquerade?: {
            avatar?: null | string;
            colour?: null | string;
            name?: null | string;
        };
        replies?: MessageReply[];
    }
    Index

    Properties

    attachments?: string[] | Readable[] | File[]
    content?: string
    embeds?: MessageEmbed[]
    masquerade?: {
        avatar?: null | string;
        colour?: null | string;
        name?: null | string;
    }

    Type declaration

    • Optionalavatar?: null | string

      Replace the avatar shown on this message (URL to image file)

    • Optionalcolour?: null | string

      Replace the display role colour shown on this message

      Must have ManageRole permission to use

    • Optionalname?: null | string

      Replace the display name shown on this message

    replies?: MessageReply[]