Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Commit

Permalink
Fix setting the interval for setting the bot activity
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnCZek committed Aug 1, 2020
1 parent 0503026 commit 7a2a4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/client.manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class ClientManager {
this.updateCommandPrefix();

// Set interval for setting the activity as sometimes the activity is gone
setInterval(ClientManager.setActivity, 60 * 1000, this.client);
setInterval((client: Client) => ClientManager.setActivity(client), 60 * 1000, this.client);
await ClientManager.setActivity(this.client);

await this.clearConfigurations();
Expand Down

0 comments on commit 7a2a4eb

Please sign in to comment.