mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 12:44:17 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (channel.parent.id === IDs.categories.staff) {
|
return channel.parent.id === IDs.categories.staff
|
||||||
return true;
|
|| channel.parent.id === IDs.categories.modMail;
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
@ -98,6 +98,7 @@ const devIDs = {
|
|||||||
},
|
},
|
||||||
categories: {
|
categories: {
|
||||||
staff: '999431676058927253',
|
staff: '999431676058927253',
|
||||||
|
modMail: '999431676633563236',
|
||||||
verification: '999431677006860409',
|
verification: '999431677006860409',
|
||||||
diversity: '999431679053660185',
|
diversity: '999431679053660185',
|
||||||
},
|
},
|
||||||
|
@ -101,6 +101,7 @@ let IDs = {
|
|||||||
},
|
},
|
||||||
categories: {
|
categories: {
|
||||||
staff: '768685283583328257',
|
staff: '768685283583328257',
|
||||||
|
modMail: '867077297664426006',
|
||||||
verification: '797505409073676299',
|
verification: '797505409073676299',
|
||||||
diversity: '933078380394459146',
|
diversity: '933078380394459146',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user