Type Alias ParsedComponentData

ParsedComponentData: {
    afterPrefix?: string;
    alias?: string;
    command?: Command;
    content?: string;
    prefix?: string;
}

Various parsed components of the message.

Type declaration

  • OptionalafterPrefix?: string

    The content to the right of the prefix.

  • Optionalalias?: string

    The alias used.

  • Optionalcommand?: Command

    The command used.

  • Optionalcontent?: string

    The content to the right of the alias.

  • Optionalprefix?: string

    The prefix used.