message.guild.format -> message.format

This commit is contained in:
Erik 2020-05-01 17:13:12 +03:00
parent 61c75f20e0
commit 369cff7423

View File

@ -17,7 +17,7 @@ class PingCommand extends Command {
async execute(message) { async execute(message) {
const ping = this.client.ws.ping.toFixed(0); const ping = this.client.ws.ping.toFixed(0);
return message.respond(`${message.guild.format('PING_COMMAND_RESPONSE')} \`${ping}ms\``, { emoji: 'success' }); return message.respond(`${message.format('PING_COMMAND_RESPONSE')} \`${ping}ms\``, { emoji: 'success' });
} }
} }