Merge branch 'dev'
commit
f5db179868
|
@ -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"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -84,7 +84,7 @@ export default async function departmentPager(client: Client): Promise<NodeJS.Ti
|
|||
return acknowledgements.find((m) => 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<NodeJS.Ti
|
|||
}
|
||||
}
|
||||
|
||||
// const takenPagers = new Set<string>();
|
||||
for (const member of members) {
|
||||
let pager = await client.db.PagerNumber.findOne({ individualAssignID: member.id }).lean().exec();
|
||||
// Directors
|
||||
|
|
Loading…
Reference in New Issue