|
|
@ -18,7 +18,7 @@ export class UEMEloBot extends Client { |
|
|
|
this.commands = commands; |
|
|
|
this.commands = commands; |
|
|
|
const token = await this.login(); |
|
|
|
const token = await this.login(); |
|
|
|
console.log(`Discord Token: ${token}`); |
|
|
|
console.log(`Discord Token: ${token}`); |
|
|
|
setInterval(this.updatePlayers.bind(this), 30 * 60 * 1000); |
|
|
|
setInterval(this.updatePlayers.bind(this), 20 * 60 * 1000); |
|
|
|
await this.updatePlayers(); |
|
|
|
await this.updatePlayers(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
@ -120,4 +120,4 @@ export class UEMEloBot extends Client { |
|
|
|
process.exit(0); |
|
|
|
process.exit(0); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|