mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-26 15:14:59 +05:00
Правильное название переменной
This commit is contained in:
parent
c5dd646f67
commit
c9aff86edf
1 changed files with 3 additions and 3 deletions
|
@ -49,10 +49,10 @@ module.exports = class {
|
||||||
let i = 0;
|
let i = 0;
|
||||||
setInterval(function () {
|
setInterval(function () {
|
||||||
servers = client.guilds.cache.filter(guild => guild.id != "568120814776614924" && guild.id != "892727526911258654").size;
|
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}`, {
|
client.user.setActivity(`${toShow.name} | v${version}`, {
|
||||||
type: random.type
|
type: toShow.type
|
||||||
});
|
});
|
||||||
|
|
||||||
if (status[parseInt(i + 1, 10)]) i++;
|
if (status[parseInt(i + 1, 10)]) i++;
|
||||||
|
|
Loading…
Reference in a new issue