Interface Parser

interface Parser {
    defaultRules: DefaultRules;
    guildEventRules: Omit<DefaultRules, "br" | "blockQuote" | "codeBlock">;
    notifCenterV2MessagePreviewRules: Omit<DefaultRules,
        | "link"
        | "list"
        | "strong"
        | "u"
        | "heading"
        | "url"
        | "newline"
        | "paragraph"
        | "autolink"
        | "inlineCode"
        | "codeBlock">;
    parse: ParseFn;
    parseAutoModerationSystemMessage: ParseFn;
    parseAutoModerationSystemMessageToAST: ParseFn;
    parseEmbedTitle: ParseFn;
    parseEmbedTitleToAST: ParseFn;
    parseForumPostGuidelines: ParseFn;
    parseForumPostMostRecentMessage: ParseFn;
    parseGuildEventDescription: ParseFn;
    parseGuildVerificationFormRule: ParseFn;
    parseInlineReply: ParseFn;
    parseInlineReplyToAST: ParseFn;
    parseToAST: ParseFn;
    parseTopic: ParseFn;
    parseTopicToAST: ParseFn;
    astParserFor(rules: ParserRules): ParseFn;
    reactParserFor(rules: ParserRules): ParseFn;
}

Properties

defaultRules: DefaultRules
guildEventRules: Omit<DefaultRules, "br" | "blockQuote" | "codeBlock">
notifCenterV2MessagePreviewRules: Omit<DefaultRules,
    | "link"
    | "list"
    | "strong"
    | "u"
    | "heading"
    | "url"
    | "newline"
    | "paragraph"
    | "autolink"
    | "inlineCode"
    | "codeBlock">
parse: ParseFn
parseAutoModerationSystemMessage: ParseFn
parseAutoModerationSystemMessageToAST: ParseFn
parseEmbedTitle: ParseFn
parseEmbedTitleToAST: ParseFn
parseForumPostGuidelines: ParseFn
parseForumPostMostRecentMessage: ParseFn
parseGuildEventDescription: ParseFn
parseGuildVerificationFormRule: ParseFn
parseInlineReply: ParseFn
parseInlineReplyToAST: ParseFn
parseToAST: ParseFn
parseTopic: ParseFn
parseTopicToAST: ParseFn

Methods