Update stop command

This commit is contained in:
Christer Warén 2021-09-11 18:27:12 +03:00
parent 095b6ad775
commit 9019741146

View File

@ -22,7 +22,11 @@ module.exports = {
if(!radio.message){
radio.message = radio.textChannel.send({ embeds: [embed], components: [] });
} else {
radio.message.edit({ embeds: [embed], components: [] });
if(radio.textChannel.id == radio.message.channel.id){
radio.message.edit({ embeds: [embed], components: [] });
} else {
radio.message?.delete();
}
}
setTimeout(async function() {