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 | None |
Name | Type | Optional | Description |
---|---|---|---|
userId | C | No | The user ID to format |