Skip to content

Commit

Permalink
Disable "Loading" activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibowl committed Jan 18, 2022
1 parent ef4f21c commit 403aa83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/HuTaoClient.ts
Expand Up @@ -47,8 +47,8 @@ export default class HuTaoClient extends Discord.Client {
presence: {
status: "idle",
activities: [{
name: "Loading...",
type: "PLAYING"
name: config.activity,
type: "LISTENING"
}]
}
})
Expand Down
2 changes: 1 addition & 1 deletion src/utils/TimerManager.ts
Expand Up @@ -11,7 +11,7 @@ const Logger = log4js.getLogger("TimerManager")
export default class TimerManager {
activityTimer: NodeJS.Timeout | undefined = undefined
queuedUntil = Date.now() - 20000
lastActivityUpdate = 0
lastActivityUpdate = Date.now()

init(): void {
const updateActivity = async (): Promise<void> => {
Expand Down

0 comments on commit 403aa83

Please sign in to comment.