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:
		
							
								
								
									
										7
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								index.js
									
									
									
									
									
								
							@@ -49,10 +49,13 @@ client.on('message', async msg => {
 | 
				
			|||||||
					d.d('d')
 | 
										d.d('d')
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if (msg.content === '!ping') {
 | 
								if (msg.content === `${PREFIX}ping`) {
 | 
				
			||||||
				msg.channel.send(`Current ping: ${client.ping}`)
 | 
									msg.channel.send(`My current ping is ${client.ping}`)
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			  }
 | 
								  }
 | 
				
			||||||
 | 
								  if (msg.content.toUpperCase().startsWith(`MUSIX`)) {
 | 
				
			||||||
 | 
									  msg.channel.send('-help to see my commands.')
 | 
				
			||||||
 | 
								  }
 | 
				
			||||||
		if (msg.content === `${PREFIX}help`) {
 | 
							if (msg.content === `${PREFIX}help`) {
 | 
				
			||||||
		const embed = new Discord.RichEmbed()
 | 
							const embed = new Discord.RichEmbed()
 | 
				
			||||||
		  .setTitle('Commands for Musix!')
 | 
							  .setTitle('Commands for Musix!')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user