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