1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-07-12 09:52:00 +03:00
parent 85b5a1b26c
commit 9a6941aedf

View File

@ -15,9 +15,6 @@ client.on('message', async msg => {
if (msg.content.toUpperCase().startsWith(`MUSIX`)) { if (msg.content.toUpperCase().startsWith(`MUSIX`)) {
msg.channel.send('-help to see my commands.') msg.channel.send('-help to see my commands.')
} }
if (msg.content.toUpperCase().contains(`MUSIX HELP`)) {
msg.channel.send('-help to see my commands.')
}
if (msg.content.startsWith(`${PREFIX}`)) { if (msg.content.startsWith(`${PREFIX}`)) {
if (msg.content === `${PREFIX}ping`) { if (msg.content === `${PREFIX}ping`) {
msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`) msg.channel.send(`My current Ping: **${Math.floor(client.ping * 10) / 10} ms**.`)