diff --git a/Xiao.js b/Xiao.js index 2f5206e5..9503265b 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 }); + 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 diff --git a/structures/Activity.js b/structures/Activity.js index 55ad75e1..9591ff1a 100644 --- a/structures/Activity.js +++ b/structures/Activity.js @@ -4,70 +4,82 @@ const { formatNumber } = require('../util/Util'); module.exports = [ { text: 'Rune Factory 4', + emoji: '🎮', type: ActivityType.Playing }, { text: 'Rune Factory 4 Special', + emoji: '🎮', type: ActivityType.Playing }, { - text: 'with your heart', - type: ActivityType.Playing + text: 'Playing with your heart', + emoji: '❤️', + type: ActivityType.Custom }, { - text: 'you eat pant', - type: ActivityType.Watching + text: 'Watching you eat pant', + emoji: '👖', + type: ActivityType.Custom }, { - text: 'anime', - type: ActivityType.Watching + text: 'Watching anime', + emoji: '📺', + type: ActivityType.Custom }, { - text: 'over the inn', - type: ActivityType.Watching + text: 'Watching over the inn', + emoji: '🏡', + type: ActivityType.Custom }, { - text: 'at the inn', - type: ActivityType.Playing + text: 'Playing at the inn', + emoji: '🏡', + type: ActivityType.Custom }, { - text: 'in Selphia', - type: ActivityType.Playing + text: 'Playing in Selphia', + emoji: '🗺️', + type: ActivityType.Custom }, { - text: 'with Amber', - type: ActivityType.Playing + text: 'Playing with Amber', + emoji: '🍁', + type: ActivityType.Custom }, { - text: 'with a cardboard box', - type: ActivityType.Playing + text: 'Playing with a cardboard box', + emoji: '📦', + type: ActivityType.Custom }, { - text: 'in the fridge', - type: ActivityType.Playing + text: 'Playing in the fridge', + emoji: '🥚', + type: ActivityType.Custom }, { - text: 'with a knife', - type: ActivityType.Playing + text: 'Playing with a knife', + emoji: '🔪', + type: ActivityType.Custom }, { - text: 'with a murderous cow', - type: ActivityType.Playing - }, - { - text: 'with a linter', - type: ActivityType.Playing + text: 'Playing with a murderous cow', + emoji: '🐄', + type: ActivityType.Custom }, { text: client => `${formatNumber(client.guilds.cache.size)} servers`, - type: ActivityType.Watching + emoji: '👀', + type: ActivityType.Custom }, { - text: client => `with ${formatNumber(client.registry.commands.size)} commands`, - type: ActivityType.Playing + text: client => `${formatNumber(client.registry.commands.size)} commands`, + emoji: '🤖', + type: ActivityType.Custom }, { - text: client => `with ${formatNumber(client.registry.totalUses)} command uses`, - type: ActivityType.Playing + text: client => `${formatNumber(client.registry.totalUses)} command uses`, + emoji: '🤖', + type: ActivityType.Custom } ];