Search...

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
NameConstraintsOptionalDefaultDescription
CSnowflakeNoNone
NameTypeOptionalDescription
roleIdCNoThe role ID to format