mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 01:09:32 +00:00 
			
		
		
		
	Updated stop.js
This commit is contained in:
		@@ -21,13 +21,13 @@ module.exports = {
 | 
				
			|||||||
                .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
 | 
					                .setFooter(client.messages.footerText, "https://cdn.discordapp.com/emojis/" + client.messageEmojis["eximiabots"].replace(/[^0-9]+/g, ''));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if(!radio.message){
 | 
					            if(!radio.message){
 | 
				
			||||||
                radio.message = await radio.textChannel.send({ embeds: [embed], components: [] });
 | 
					                radio.message = radio.textChannel.send({ embeds: [embed], components: [] });
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                radio.message.edit({ embeds: [embed], components: [] });
 | 
					                radio.message.edit({ embeds: [embed], components: [] });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            setTimeout(function() {
 | 
					            setTimeout(async function() {
 | 
				
			||||||
                radio.message.delete();
 | 
					                await radio.message?.delete();
 | 
				
			||||||
            }, 5000);
 | 
					            }, 5000);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            client.radio.delete(interaction.guild.id);
 | 
					            client.radio.delete(interaction.guild.id);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user