diff --git a/Xiao.js b/Xiao.js index e0f22389..e9646e88 100644 --- a/Xiao.js +++ b/Xiao.js @@ -3,7 +3,14 @@ const { XIAO_TOKEN, OWNERS, XIAO_PREFIX, INVITE } = process.env; const { mkdir } = require('fs/promises'); const path = require('path'); const math = require('mathjs'); -const { GatewayIntentBits, Partials, AllowedMentionsTypes, PermissionFlagsBits, EmbedBuilder } = require('discord.js'); +const { + GatewayIntentBits, + Partials, + AllowedMentionsTypes, + PermissionFlagsBits, + EmbedBuilder, + ActivityType +} = require('discord.js'); const Client = require('./structures/Client'); const client = new Client({ commandPrefix: XIAO_PREFIX, @@ -117,6 +124,7 @@ client.on('ready', async () => { } // Interval to change activity every minute + 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; diff --git a/package.json b/package.json index f52faa25..2869f403 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "152.0.1", + "version": "152.0.2", "description": "Your personal server companion.", "main": "Xiao.js", "private": true,