From 79d7ce6c66def11f3a4154ded535cae3af762f73 Mon Sep 17 00:00:00 2001 From: h0ust8n Date: Thu, 15 Sep 2022 01:42:30 +0300 Subject: [PATCH] Update 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) => {