Search...

userMention

declare function userMention<C extends Snowflake>(userId: C): `<@${C}>`;
declare function userMention<C extends Snowflake>(userId: C): `<@${C}>`;
Formats a user ID into a user mention
NameConstraintsOptionalDefaultDescription
CSnowflakeNoNone
NameTypeOptionalDescription
userIdCNoThe user ID to format