mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
Update index.js
This commit is contained in:
parent
9e7d75927b
commit
eb039662f1
2
index.js
2
index.js
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user