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

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) { async run(message) {
message.sendT("general/ping:CONTENT", { message.sendT("general/ping:CONTENT", {
ping: "...", ping: "..."
wsping: "..."
}).then((m) => { }).then((m) => {
m.sendT("general/ping:CONTENT", { m.sendT("general/ping:CONTENT", {
ping: m.createdTimestamp - message.createdTimestamp, ping: Math.round(this.client.ws.ping)
wsping: Math.round(this.client.ws.ping)
}, { edit: true }); }, { edit: true });
}); });
} }

View file

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

View file

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