diff --git a/src/intervals/departmentPager.ts b/src/intervals/departmentPager.ts index 28fe74a..f600910 100644 --- a/src/intervals/departmentPager.ts +++ b/src/intervals/departmentPager.ts @@ -79,9 +79,9 @@ export default async function departmentPager(client: Client): Promise m.id === id); + // const acknowledgements = require(`${__dirname}/../configs/acknowledgements.json`); + async function resolveStaffInformation(id: string) { + return client.db.Staff.findOne({ userID: id }); // acknowledgements.find((m) => m.id === id); } await client.guilds.get(client.config.guildID).fetchAllMembers(); const members = client.guilds.get(client.config.guildID).members.map((m) => m); @@ -128,7 +128,7 @@ export default async function departmentPager(client: Client): Promise