interval fix
parent
47aa29fa93
commit
8731dfcf61
|
@ -132,7 +132,7 @@ export default async function departmentPager(client: Client): Promise<NodeJS.Ti
|
|||
// ADD TO ALL STAFF MAILING LIST
|
||||
if ((member.roles.includes('453689940140883988') || member.roles.includes('701481967149121627')) && !pager) {
|
||||
const acknowledgement = await resolveStaffInformation(member.id);
|
||||
await client.util.addUserToMailingList(acknowledgement.emailAddress, 'all-staff');
|
||||
await client.util.addUserToMailingList(acknowledgement?.emailAddress, 'all-staff');
|
||||
}
|
||||
// Directors
|
||||
if (!pager && member.roles.includes('662163685439045632')) {
|
||||
|
|
Loading…
Reference in New Issue