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-06-05 16:32:20 +03:00
parent 9e7d75927b
commit eb039662f1

View File

@ -33,7 +33,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\'n´m sorry, You can\'t do that!')
} }
if (msg.author.username === 'Matte') { if (msg.author.username === 'Matte') {