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
CSnowflakeNoThis is inferred by the supplied role id
NameTypeOptionalDescription
roleIdCNoThe role id to format