mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 13:14:58 +05:00
Хватит нести чушь
This commit is contained in:
parent
58da4cebe5
commit
0d2e05efba
3 changed files with 4 additions and 6 deletions
|
@ -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 });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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."
|
||||||
}
|
}
|
|
@ -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."
|
||||||
}
|
}
|
Loading…
Reference in a new issue