mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 21:24:14 +02:00
fix(arabot): fix typo that did not include mentor coordinator in error text
This commit is contained in:
parent
fe225ab6f0
commit
0bab772b09
@ -41,7 +41,7 @@ export class MentorCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
|||||||
private async checkMentorCoordinator(user: GuildMember) {
|
private async checkMentorCoordinator(user: GuildMember) {
|
||||||
return user.roles.cache.has(IDs.roles.staff.mentorCoordinator)
|
return user.roles.cache.has(IDs.roles.staff.mentorCoordinator)
|
||||||
? this.ok()
|
? this.ok()
|
||||||
: this.error({ message: 'Only coordinators can run this command!' });
|
: this.error({ message: 'Only mentor coordinators can run this command!' });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user