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.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | Snowflake | No | This is inferred by the supplied user id |
Name | Type | Optional | Description |
---|---|---|---|
userId | C | No | The user id to format |