Search...

userMention

export declare function userMention<C extends Snowflake>(userId: C): `<@${C}>`;
export declare function userMention<C extends Snowflake>(userId: C): `<@${C}>`;
Formats a user id into a user mention.
NameConstraintsOptionalDefaultDescription
CSnowflakeNoThis is inferred by the supplied user id
NameTypeOptionalDescription
userIdCNoThe user id to format