Change activities to have emojis

This commit is contained in:
lilyissillyyy
2025-11-02 18:28:41 -05:00
parent 18fbfcf1ff
commit 6eaa8fc698
2 changed files with 45 additions and 33 deletions
+2 -2
View File
@@ -119,11 +119,11 @@ client.on('clientReady', async () => {
}
// Interval to change activity every minute
client.user.setActivity('Good morning, world!', { type: ActivityType.Custom });
client.user.setActivity('Good morning, world!', { type: ActivityType.Custom, state: '☀️' });
setInterval(() => {
const activity = client.activities[Math.floor(Math.random() * client.activities.length)];
const text = typeof activity.text === 'function' ? activity.text(client) : activity.text;
client.user.setActivity(text, { type: activity.type });
client.user.setActivity(text, { type: activity.type, state: activity.emoji });
}, 60000);
// Set up disabled commands