From 33d39075120ae490150018d86e74e4f49378b76f Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Tue, 18 Jun 2019 18:03:01 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 69a82cbb..45cbb8dc 100644 --- a/index.js +++ b/index.js @@ -49,7 +49,7 @@ client.on('message', async msg => { d.d('d') } } - if (msg.content === '!ping') { + if (msg.content === `${PREFIX}ping`) { msg.channel.send(`Current ping: ${client.ping}`) return; }