mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Check for hats on startup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user