From 5d0d192ab089e7f799c46d470ffed61db7ae607d Mon Sep 17 00:00:00 2001 From: 5jiji Date: Wed, 17 Jul 2024 19:26:36 +0200 Subject: [PATCH] wallpaper wait 23h instead of 24. --- src/interactions/Commands/misc/wallpaper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactions/Commands/misc/wallpaper.ts b/src/interactions/Commands/misc/wallpaper.ts index c334644..648deec 100644 --- a/src/interactions/Commands/misc/wallpaper.ts +++ b/src/interactions/Commands/misc/wallpaper.ts @@ -39,7 +39,7 @@ class Wallpaper extends Interaction { }); this.#lastUse = new Date(Date.now()); - this.#lastUse.setDate(this.#lastUse.getDate()+1); + this.#lastUse.setHours(this.#lastUse.getHours()+23); } }