mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 21:24:14 +02:00
fix(arabot): using wrong id for div coordinator
This commit is contained in:
parent
7e0abe697d
commit
d7e79b8d89
@ -39,7 +39,7 @@ export class DiversityCoordinatorOnlyPrecondition extends AllFlowsPrecondition {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async checkDiversityCoordinator(user: GuildMember) {
|
private async checkDiversityCoordinator(user: GuildMember) {
|
||||||
return user.roles.cache.has(IDs.roles.staff.devCoordinator)
|
return user.roles.cache.has(IDs.roles.staff.diversityCoordinator)
|
||||||
? this.ok()
|
? this.ok()
|
||||||
: this.error({ message: 'Only diversity coordinators can run this command!' });
|
: this.error({ message: 'Only diversity coordinators can run this command!' });
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user