Хватит нести чушь

This commit is contained in:
JonnyBro 2022-05-14 22:17:13 +05:00
parent 58da4cebe5
commit 0d2e05efba
3 changed files with 4 additions and 6 deletions

View file

@ -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 });
});
}

View file

@ -2,5 +2,5 @@
"DESCRIPTION": "Показать пинг бота",
"USAGE": "{{prefix}}ping",
"EXAMPLES": "{{prefix}}ping",
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms."
}

View file

@ -2,5 +2,5 @@
"DESCRIPTION": "Показати пінг бота",
"USAGE": "{{prefix}}ping",
"EXAMPLES": "{{prefix}}ping",
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms."
}