From ec06533ffc114cd9fb6f051f2fa83ed85ed31b9e Mon Sep 17 00:00:00 2001 From: h0ust8n Date: Thu, 15 Sep 2022 01:44:48 +0300 Subject: [PATCH] bot.js --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 866f6ac..8803669 100644 --- a/bot.js +++ b/bot.js @@ -2,7 +2,7 @@ const {Client} = require("discord.js"); const bot = new Client(); const gamedig = require('gamedig'); async function online() { - gamedig.query({type: 'dayz', host: '212.22.93.93', port: '2345' + gamedig.query({type: 'dayz', host: '212.22.93.104', port: '2345' }).then((state) => { bot.user.setActivity(`🎮 Онлайн: ${state.raw.numplayers}/${state.maxplayers}`, {type: 0}); }).catch((error) => {