diff --git a/test/cmds/ping.ts b/test/cmds/ping.ts index 852941c..4b3db95 100644 --- a/test/cmds/ping.ts +++ b/test/cmds/ping.ts @@ -5,6 +5,6 @@ export default class PingCommand extends Command { execute(ctx: CommandContext): void { console.log(ctx.args, ctx.argString) - ctx.message.reply(`Pong! Latency: ${ctx.client.ping}ms`) + ctx.message.reply(`Pong! Latency: ${ctx.client.gateway.ping}ms`) } }