mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 06:24:15 +02:00
Merge pull request #45 from smyalygames/main
fix(arabot): fix typo that did not include mentor coordinator in erro…
This commit is contained in:
commit
040cc3145a
@ -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!' });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user