From 0bab772b09b4522b9b9c4c3a226a7abdb852a65e Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 29 Jul 2022 03:54:20 +0100 Subject: [PATCH] fix(arabot): fix typo that did not include mentor coordinator in error text --- src/preconditions/MentorCoordinatorOnly.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preconditions/MentorCoordinatorOnly.ts b/src/preconditions/MentorCoordinatorOnly.ts index a5c6435..d446395 100644 --- a/src/preconditions/MentorCoordinatorOnly.ts +++ b/src/preconditions/MentorCoordinatorOnly.ts @@ -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!' }); } }