From dcf6691e23191a1773d0233d0dc26e577568c5b3 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Sun, 2 Nov 2025 19:15:12 -0500 Subject: [PATCH] Activities for bots can't have emoji :( --- Xiao.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Xiao.js b/Xiao.js index 9503265b..2f5206e5 100644 --- a/Xiao.js +++ b/Xiao.js @@ -119,11 +119,11 @@ client.on('clientReady', async () => { } // Interval to change activity every minute - client.user.setActivity('Good morning, world!', { type: ActivityType.Custom, state: '☀️' }); + client.user.setActivity('Good morning, world!', { type: ActivityType.Custom }); 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, state: activity.emoji }); + client.user.setActivity(text, { type: activity.type }); }, 60000); // Set up disabled commands