Skip to content

Commit

Permalink
feat(sonia-emotional-state): change random every 5 to 30 min
Browse files Browse the repository at this point in the history
instead of changing each our
closes #616
  • Loading branch information
C0ZEN committed Nov 21, 2020
1 parent c30668b commit c40a2e6
Show file tree
Hide file tree
Showing 5 changed files with 453 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class DiscordActivitySoniaService extends AbstractService {
}

public init(): Promise<Presence> {
return this._listen().toPromise();
return this._listen$().toPromise();
}

public startSchedule(): void {
Expand Down Expand Up @@ -193,7 +193,7 @@ export class DiscordActivitySoniaService extends AbstractService {
}
}

private _listen(): Observable<Presence> {
private _listen$(): Observable<Presence> {
LoggerService.getInstance().debug({
context: this._serviceName,
message: ChalkService.getInstance().text(`listen ${wrapInQuotes(`ready`)} Discord client state`),
Expand Down
Loading

0 comments on commit c40a2e6

Please sign in to comment.