mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 07:34:14 +02:00
feat(arabot): add modmail to staff checker
This commit is contained in:
parent
357322c3b8
commit
203dc6bfdd
@ -32,8 +32,6 @@ export function checkStaff(channel: TextChannel) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (channel.parent.id === IDs.categories.staff) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return channel.parent.id === IDs.categories.staff
|
||||
|| channel.parent.id === IDs.categories.modMail;
|
||||
}
|
||||
|
@ -98,6 +98,7 @@ const devIDs = {
|
||||
},
|
||||
categories: {
|
||||
staff: '999431676058927253',
|
||||
modMail: '999431676633563236',
|
||||
verification: '999431677006860409',
|
||||
diversity: '999431679053660185',
|
||||
},
|
||||
|
@ -101,6 +101,7 @@ let IDs = {
|
||||
},
|
||||
categories: {
|
||||
staff: '768685283583328257',
|
||||
modMail: '867077297664426006',
|
||||
verification: '797505409073676299',
|
||||
diversity: '933078380394459146',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user