Check for hats on startup

This commit is contained in:
lilyissillyyy
2026-03-01 16:49:52 -05:00
parent 5378e40128
commit cdd6bb0208
3 changed files with 25 additions and 14 deletions
+1
View File
@@ -130,6 +130,7 @@ client.on('clientReady', async () => {
const isWearingHat = await client.redis.db.get('hat');
if (!isWearingHat) await client.redis.db.set('hat', false);
client.avatarChanger.isWearingHat = isWearingHat === 'true';
await client.avatarChanger.checkForUpdates();
client.avatarChanger.setInterval();
// Set up disabled commands