mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 06:33:18 +00:00
Update stop command
This commit is contained in:
parent
095b6ad775
commit
9019741146
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user