add semicolons to calculatereport call
parent
9e6d19897c
commit
e66b54ad96
|
@ -63,7 +63,7 @@ export default class Queue {
|
||||||
const programmingSupport = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('506970598631538708')).getMessages(300);
|
const programmingSupport = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('506970598631538708')).getMessages(300);
|
||||||
const programmingSupport2 = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('554892820553531422')).getMessages(100);
|
const programmingSupport2 = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('554892820553531422')).getMessages(100);
|
||||||
const cloudSupport = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('546457788184789013')).getMessages(200);
|
const cloudSupport = await (<TextChannel> this.client.guilds.get(this.client.config.guildID).channels.get('546457788184789013')).getMessages(200);
|
||||||
|
|
||||||
const projectChannels: TextChannel[] = [];
|
const projectChannels: TextChannel[] = [];
|
||||||
for (const c of this.client.guilds.get(this.client.config.guildID).channels.filter((ch) => ch.type === 0)) {
|
for (const c of this.client.guilds.get(this.client.config.guildID).channels.filter((ch) => ch.type === 0)) {
|
||||||
const chan = <TextChannel> c;
|
const chan = <TextChannel> c;
|
||||||
|
@ -78,8 +78,8 @@ export default class Queue {
|
||||||
members.forEach(async member => {
|
members.forEach(async member => {
|
||||||
const resolvedMember = await this.client.getRESTGuildMember(this.client.config.guildID, member.id);
|
const resolvedMember = await this.client.getRESTGuildMember(this.client.config.guildID, member.id);
|
||||||
calculateReport(this.client, resolvedMember, [...general, ...programmingSupport, ...programmingSupport2, ...cloudSupport, ...projectMessages])
|
calculateReport(this.client, resolvedMember, [...general, ...programmingSupport, ...programmingSupport2, ...cloudSupport, ...projectMessages])
|
||||||
})
|
});
|
||||||
})
|
});
|
||||||
|
|
||||||
historialCommunityReportJob.start();
|
historialCommunityReportJob.start();
|
||||||
clearOldHistoricalReportsJob.start();
|
clearOldHistoricalReportsJob.start();
|
||||||
|
|
Loading…
Reference in New Issue