roleMention
export declare function roleMention<C extends Snowflake>(roleId: C): `<@&${C}>`;
export declare function roleMention<C extends Snowflake>(roleId: C): `<@&${C}>`;
Formats a role id into a role mention.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
C | Snowflake | No | This is inferred by the supplied role id |
Name | Type | Optional | Description |
---|---|---|---|
roleId | C | No | The role id to format |