From a861ff043c843f7e66bca248a814b2f5ae03c302 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 8 Apr 2022 01:36:49 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B0=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/ping.js | 5 +++-- languages/ru-RU/general/ping.json | 2 +- languages/uk-UA/general/ping.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/commands/General/ping.js b/commands/General/ping.js index 631937ac..c509dbb6 100644 --- a/commands/General/ping.js +++ b/commands/General/ping.js @@ -18,11 +18,12 @@ class Ping extends Command { async run(message) { message.sendT("general/ping:CONTENT", { - ping: "..." + ping: "...", + wsping: "..." }).then((m) => { m.sendT("general/ping:CONTENT", { ping: m.createdTimestamp - message.createdTimestamp, - cping: Math.round(this.client.ws.ping) + wsping: Math.round(this.client.ws.ping) }, { edit: true }); }); } diff --git a/languages/ru-RU/general/ping.json b/languages/ru-RU/general/ping.json index cea825f9..d4519203 100644 --- a/languages/ru-RU/general/ping.json +++ b/languages/ru-RU/general/ping.json @@ -2,5 +2,5 @@ "DESCRIPTION": "Показать пинг бота", "USAGE": "{{prefix}}ping", "EXAMPLES": "{{prefix}}ping", - "CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{cping}}**ms)." + "CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{wsping}}**ms)." } \ No newline at end of file diff --git a/languages/uk-UA/general/ping.json b/languages/uk-UA/general/ping.json index 71ddf4b5..2b3952b1 100644 --- a/languages/uk-UA/general/ping.json +++ b/languages/uk-UA/general/ping.json @@ -2,5 +2,5 @@ "DESCRIPTION": "Показати пінг бота", "USAGE": "{{prefix}}ping", "EXAMPLES": "{{prefix}}ping", - "CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{cping}}**ms)." + "CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{wsping}}**ms)." } \ No newline at end of file