1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 04:31:56 +00:00

Update index.js

This commit is contained in:
Matte 2019-06-18 18:03:01 +03:00 committed by GitHub
parent 2e2f7c2e9a
commit 33d3907512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ client.on('message', async msg => {
d.d('d') d.d('d')
} }
} }
if (msg.content === '!ping') { if (msg.content === `${PREFIX}ping`) {
msg.channel.send(`Current ping: ${client.ping}`) msg.channel.send(`Current ping: ${client.ping}`)
return; return;
} }