From c9aff86edff2f1a7b1fea1ff6907d391aa05a36b Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Wed, 5 Jan 2022 12:00:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C?= =?UTF-8?q?=D0=BD=D0=BE=D0=B5=20=D0=BD=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- events/ready.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/events/ready.js b/events/ready.js index 1c7d9bf7..f48e50ed 100644 --- a/events/ready.js +++ b/events/ready.js @@ -49,10 +49,10 @@ module.exports = class { let i = 0; setInterval(function () { servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size; - const random = status[parseInt(i, 10)]; + const toShow = status[parseInt(i, 10)]; - client.user.setActivity(`${random.name} | v${version}`, { - type: random.type + client.user.setActivity(`${toShow.name} | v${version}`, { + type: toShow.type }); if (status[parseInt(i + 1, 10)]) i++;