Add function comments

This commit is contained in:
Dev 2024-06-18 13:34:04 +01:00
parent c0cdbd23d2
commit b8c18bfd30

View File

@ -139,6 +139,11 @@ export class BotHelper
);
}
/**
* is the provided role a PMC, case-agnostic
* @param botRole Role to check
* @returns True if role is PMC
*/
public botRoleIsPmc(botRole: string): boolean
{
return [this.pmcConfig.usecType.toLowerCase(), this.pmcConfig.bearType.toLowerCase()].includes(