mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-09-15 09:52:20 +02:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
30729a565f
@ -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!' });
|
||||||
}
|
}
|
||||||
|
@ -44,6 +44,7 @@ let IDs = {
|
|||||||
staff: {
|
staff: {
|
||||||
coordinator: '993636242019323904',
|
coordinator: '993636242019323904',
|
||||||
devCoordinator: '966031741099855973',
|
devCoordinator: '966031741099855973',
|
||||||
|
diversityCoordinator: '948284375827640321',
|
||||||
mentorCoordinator: '947905630939807785',
|
mentorCoordinator: '947905630939807785',
|
||||||
verifierCoordinator: '940721280376778822',
|
verifierCoordinator: '940721280376778822',
|
||||||
restricted: '851624392928264222',
|
restricted: '851624392928264222',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user