mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34:58 +05:00
Мелкие правки
This commit is contained in:
parent
702823ef66
commit
a861ff043c
3 changed files with 5 additions and 4 deletions
|
@ -18,11 +18,12 @@ class Ping extends Command {
|
|||
|
||||
async run(message) {
|
||||
message.sendT("general/ping:CONTENT", {
|
||||
ping: "..."
|
||||
ping: "...",
|
||||
wsping: "..."
|
||||
}).then((m) => {
|
||||
m.sendT("general/ping:CONTENT", {
|
||||
ping: m.createdTimestamp - message.createdTimestamp,
|
||||
cping: Math.round(this.client.ws.ping)
|
||||
wsping: Math.round(this.client.ws.ping)
|
||||
}, { edit: true });
|
||||
});
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"DESCRIPTION": "Показать пинг бота",
|
||||
"USAGE": "{{prefix}}ping",
|
||||
"EXAMPLES": "{{prefix}}ping",
|
||||
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{cping}}**ms)."
|
||||
"CONTENT": "Понг! Мой пинг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
|
||||
}
|
|
@ -2,5 +2,5 @@
|
|||
"DESCRIPTION": "Показати пінг бота",
|
||||
"USAGE": "{{prefix}}ping",
|
||||
"EXAMPLES": "{{prefix}}ping",
|
||||
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{cping}}**ms)."
|
||||
"CONTENT": "Понг! Мій пінг - **{{ping}}**ms (WS: **{{wsping}}**ms)."
|
||||
}
|
Loading…
Reference in a new issue