case 'test':
let time = "10s"
const testEmbed = new Discord.RichEmbed()
.setTitle("Testing")
.setColor('#000000')
message.channel.send(testEmbed);
setTimeout(function(){
testEmbed.setColor('#5e4242')
}, ms(time));
break;
Trying to change the color of the embed after 10 seconds in this test command named 'test.' After numerous attempts and searching online, I came across this solution. However, it seems to have no effect at all. I opted for RichEmbed as using messagemebed resulted in a client error.