mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 07:29:33 +00:00 
			
		
		
		
	Update stop command
This commit is contained in:
		@@ -22,7 +22,11 @@ module.exports = {
 | 
				
			|||||||
            if(!radio.message){
 | 
					            if(!radio.message){
 | 
				
			||||||
                radio.message = radio.textChannel.send({ embeds: [embed], components: [] });
 | 
					                radio.message = radio.textChannel.send({ embeds: [embed], components: [] });
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
 | 
					                if(radio.textChannel.id == radio.message.channel.id){
 | 
				
			||||||
                    radio.message.edit({ embeds: [embed], components: [] });
 | 
					                    radio.message.edit({ embeds: [embed], components: [] });
 | 
				
			||||||
 | 
					                } else {
 | 
				
			||||||
 | 
					                    radio.message?.delete();
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            setTimeout(async function() {
 | 
					            setTimeout(async function() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user