Compare commits

...

2 Commits

Author SHA1 Message Date
ry bdb87c97d7 Merge branch 'master' of https://gitdab.com/r/thaldrin 2020-01-09 18:15:11 +01:00
ry 21a2812416 fix ping cmd 2020-01-09 18:14:50 +01:00
1 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ module.exports = class Ping extends Command {
const ws = Math.round(ctx.client.ws.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(', ')}]