function roleMention

export declare function roleMention<RoleId extends Snowflake>(roleId: RoleId): `<@&${RoleId}>`;

Formats a role id into a role mention.

Type Parameters

RoleId extends Snowflake

This is inferred by the supplied role id

Parameters

roleId: RoleId
The role id to format