fix ping cmd
This commit is contained in:
parent
02c51912b0
commit
21a2812416
1 changed files with 4 additions and 2 deletions
|
@ -20,6 +20,8 @@ module.exports = class Ping extends Command {
|
||||||
const ws = Math.round(ctx.client.ws.ping);
|
const ws = Math.round(ctx.client.ws.ping);
|
||||||
const shard = Math.round(ctx.guild.shard.ping);
|
const shard = Math.round(ctx.guild.shard.ping);
|
||||||
|
|
||||||
return m.edit(`REST ${rest / 1000}s (${rest}ms)\nWS ${ws / 1000}s (${ws}ms)\nShard Avg. ${shard / 1000}s (${shard}ms) [${ctx.guild.shard.pings.join(', ')}]`);
|
return m.edit(`REST ${rest / 1000}s (${rest}ms)\nWS ${ws / 1000}s (${ws}ms)`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// \nShard Avg. ${shard / 1000}s (${shard}ms) [${ctx.guild.shard.pings.join(', ')}]
|
Loading…
Reference in a new issue