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

Update index.js

This commit is contained in:
MatteZ02 2019-06-05 16:39:01 +03:00
parent eb039662f1
commit 33e87d8774

View File

@ -34,7 +34,7 @@ client.on('message', msg => {
} }
if (msg.content === '!restart') { if (msg.content === '!restart') {
if (!msg.member.username === 'Matte') { if (!msg.member.username === 'Matte') {
msg.channel.send(':x: I\'n´m sorry, You can\'t do that!') msg.channel.send(':x: I\'m sorry, You can\'t do that!')
} }
if (msg.author.username === 'Matte') { if (msg.author.username === 'Matte') {
console.log('restarting...') console.log('restarting...')