mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 06:49:31 +00:00 
			
		
		
		
	Replace forgotten older prefix
This commit is contained in:
		
							
								
								
									
										6
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								index.js
									
									
									
									
									
								
							@@ -182,7 +182,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
 | 
				
			|||||||
					return msg.channel.send(':x: There is nothing playing.');
 | 
										return msg.channel.send(':x: There is nothing playing.');
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				if (msg.content === `${PREFIX}`) return;
 | 
									if (msg.content === `${PREFIX}`) return;
 | 
				
			||||||
				msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
 | 
									msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
 | 
				
			||||||
				return;
 | 
									return;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			if (msg.content === `${PREFIX}`) return;
 | 
								if (msg.content === `${PREFIX}`) return;
 | 
				
			||||||
@@ -195,7 +195,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
 | 
								msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			const args = msg.content.split(' ');
 | 
								const args = msg.content.split(' ');
 | 
				
			||||||
@@ -312,7 +312,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
 | 
				
			|||||||
		if (msg.content === `${PREFIX}`) {
 | 
							if (msg.content === `${PREFIX}`) {
 | 
				
			||||||
			return;
 | 
								return;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		msg.channel.send(':x: Unknown command! Type -help for the list of commands!')
 | 
							msg.channel.send(`:x: Unknown command! Type ${PREFIX}help for the list of commands!`)
 | 
				
			||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user