mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 06:49:31 +00:00 
			
		
		
		
	Update index.js
This commit is contained in:
		
							
								
								
									
										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') {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user