Preview environment

function roleMention

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

Formats a role id into a role mention.

Type Parameters

RoleId extends Snowflake

Parameters

roleId: RoleId
The role id to format