From 0d2e05efbae1d2f40407372e3423840e51bf80db Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sat, 14 May 2022 22:17:13 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A5=D0=B2=D0=B0=D1=82=D0=B8=D1=82=20=D0=BD?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B8=20=D1=87=D1=83=D1=88=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/General/ping.js | 6 ++---- languages/ru-RU/general/ping.json | 2 +- languages/uk-UA/general/ping.json | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/commands/General/ping.js b/commands/General/ping.js index c509dbb6..1d8238d9 100644 --- a/commands/General/ping.js +++ b/commands/General/ping.js @@ -18,12 +18,10 @@ class Ping extends Command { async run(message) { message.sendT("general/ping:CONTENT", { - ping: "...", - wsping: "..." + ping: "..." }).then((m) => { m.sendT("general/ping:CONTENT", { - ping: m.createdTimestamp - message.createdTimestamp, - wsping: Math.round(this.client.ws.ping) + ping: 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 d4519203..9f30f4ee 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: **{{wsping}}**ms)." + "CONTENT": "Понг! Мой пинг - **{{ping}}**ms." } \ No newline at end of file diff --git a/languages/uk-UA/general/ping.json b/languages/uk-UA/general/ping.json index 2b3952b1..6d78615a 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: **{{wsping}}**ms)." + "CONTENT": "Понг! Мій пінг - **{{ping}}**ms." } \ No newline at end of file