function roleMention

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

Formats a role id into a role mention.

Type Parameters

C extends Snowflake

This is inferred by the supplied role id

Parameters

roleId: C
The role id to format