mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04: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) {
|
||||
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 });
|
||||
});
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"DESCRIPTION": "Показать пинг бота",
|
||||
"USAGE": "{{prefix}}ping",
|
||||
"EXAMPLES": "{{prefix}}ping",
|
||||
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
|
||||
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms."
|
||||
}
|
|
@ -2,5 +2,5 @@
|
|||
"DESCRIPTION": "Показати пінг бота",
|
||||
"USAGE": "{{prefix}}ping",
|
||||
"EXAMPLES": "{{prefix}}ping",
|
||||
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
|
||||
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms."
|
||||
}
|
Loading…
Reference in a new issue