function userMention

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

Formats a user ID into a user mention

Type Parameters

C extends Snowflake

Parameters

userId: C
The user ID to format