From 879a0d20763763206beb7d599f15237060f958da Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Fri, 8 Apr 2022 01:32:19 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B8=D0=BD=D0=B3=20=D0=BE=D1=82=20WebSo?= =?UTF-8?q?cket'=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/ping.js | 3 ++- languages/ru-RU/general/ping.json | 2 +- languages/uk-UA/general/ping.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/commands/General/ping.js b/commands/General/ping.js index d56eeb00..631937ac 100644 --- a/commands/General/ping.js +++ b/commands/General/ping.js @@ -21,7 +21,8 @@ class Ping extends Command { ping: "..." }).then((m) => { m.sendT("general/ping:CONTENT", { - ping: m.createdTimestamp - message.createdTimestamp + ping: m.createdTimestamp - message.createdTimestamp, + cping: 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 4d495975..5d97abe0 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." + "CONTENT": "Понг! Мой пинг - **{{ping}}**ms (**{{cping}}**ms)." } \ No newline at end of file diff --git a/languages/uk-UA/general/ping.json b/languages/uk-UA/general/ping.json index 79ac6f37..d64430f6 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." + "CONTENT": "Понг! Мій пінг - **{{ping}}**ms (**{{cping}}**ms)." } \ No newline at end of file