diff --git a/src/configs/acknowledgements.json b/src/configs/acknowledgements.json index 1ea629e..f98dcbf 100644 --- a/src/configs/acknowledgements.json +++ b/src/configs/acknowledgements.json @@ -129,6 +129,8 @@ "id": "241361691730903040", "dept": "Associate", "emailAddress": "sterben@staff.libraryofcode.org", + "gitlab": "https://gitlab.libraryofcode.org/Sterben", + "github": "https://github.com/sterben6", "bio": "im bored" }, { diff --git a/src/intervals/departmentPager.ts b/src/intervals/departmentPager.ts index 9093e7d..28fe74a 100644 --- a/src/intervals/departmentPager.ts +++ b/src/intervals/departmentPager.ts @@ -84,7 +84,7 @@ export default async function departmentPager(client: Client): Promise m.id === id); } await client.guilds.get(client.config.guildID).fetchAllMembers(); - const members = client.guilds.get(client.config.guildID).members.values(); + const members = client.guilds.get(client.config.guildID).members.map((m) => m); for (const member of members) { const pager = await client.db.PagerNumber.findOne({ individualAssignID: member.id }).lean().exec(); @@ -115,7 +115,6 @@ export default async function departmentPager(client: Client): Promise(); for (const member of members) { let pager = await client.db.PagerNumber.findOne({ individualAssignID: member.id }).lean().exec(); // Directors