Merge pull request #45 from smyalygames/main

fix(arabot): fix typo that did not include mentor coordinator in erro…
This commit is contained in:
Anthony 2022-07-29 03:54:41 +01:00 committed by GitHub
commit 040cc3145a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export class MentorCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
private async checkMentorCoordinator(user: GuildMember) {
return user.roles.cache.has(IDs.roles.staff.mentorCoordinator)
? this.ok()
: this.error({ message: 'Only coordinators can run this command!' });
: this.error({ message: 'Only mentor coordinators can run this command!' });
}
}