function userMention

export declare function userMention<C extends Snowflake>(userId: C): `<@${C}>`;

Formats a user id into a user mention.

Type Parameters

C extends Snowflake

This is inferred by the supplied user id

Parameters

userId: C
The user id to format