• Create a user mention.

    Returns

    The formatted text.

    Example

    userMention('abc'); // '<@abc>'
    

    Type Parameters

    • U extends string

    Parameters

    • userId: U

      The ID of the user to mention.

    Returns `<@${U}>`