feat(arabot): add modmail to staff checker

This commit is contained in:
smyalygames 2022-11-06 00:01:42 +00:00
parent 357322c3b8
commit 203dc6bfdd
3 changed files with 4 additions and 4 deletions

View File

@ -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;
} }

View File

@ -98,6 +98,7 @@ const devIDs = {
}, },
categories: { categories: {
staff: '999431676058927253', staff: '999431676058927253',
modMail: '999431676633563236',
verification: '999431677006860409', verification: '999431677006860409',
diversity: '999431679053660185', diversity: '999431679053660185',
}, },

View File

@ -101,6 +101,7 @@ let IDs = {
}, },
categories: { categories: {
staff: '768685283583328257', staff: '768685283583328257',
modMail: '867077297664426006',
verification: '797505409073676299', verification: '797505409073676299',
diversity: '933078380394459146', diversity: '933078380394459146',
}, },