mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 06:42:50 +02:00
Automatic holiday avatars
This commit is contained in:
@@ -126,6 +126,9 @@ client.on('clientReady', async () => {
|
||||
client.user.setActivity(text, { type: activity.type });
|
||||
}, 60000);
|
||||
|
||||
// Interval to check for holidays and change the avatar if needed
|
||||
client.avatarChanger.setInterval();
|
||||
|
||||
// Set up disabled commands
|
||||
try {
|
||||
const disabled = await client.redis.db.hgetall('disabled');
|
||||
|
||||
Reference in New Issue
Block a user