New chess.com username
This commit is contained in:
@@ -8,14 +8,22 @@ import { MinioService } from 'src/minio/minio.service';
|
|||||||
export class HoardingService {
|
export class HoardingService {
|
||||||
private readonly logger: Logger = new Logger(HoardingService.name);
|
private readonly logger: Logger = new Logger(HoardingService.name);
|
||||||
constructor(public readonly minioService: MinioService) {
|
constructor(public readonly minioService: MinioService) {
|
||||||
// this.hoardChessStats();
|
this.hoardChessStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Cron('0 0 1 * * *')
|
@Cron('0 0 1 * * *')
|
||||||
// async hoardChessStats() {
|
async hoardChessStats() {
|
||||||
// await this.hoardUserChessStats('letmutchessplayer');
|
try {
|
||||||
// await this.hoardUserChessStats('archyotype');
|
await this.hoardUserChessStats('sentientcrouton');
|
||||||
// }
|
} catch (e) {
|
||||||
|
this.logger.error(e);
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
await this.hoardUserChessStats('archyotype');
|
||||||
|
} catch (e) {
|
||||||
|
this.logger.error(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async hoardUserChessStats(user: string) {
|
async hoardUserChessStats(user: string) {
|
||||||
this.logger.log(`Hoarding chess.com stats for ${user}`);
|
this.logger.log(`Hoarding chess.com stats for ${user}`);
|
||||||
|
Reference in New Issue
Block a user