Discord Bot Question

How to make it so when i do a discord command it deletes my message but it still dms me an embed message like deletes command trigger

message.delete().catch() - Deleted command trigger
message.delete() - Deleted message which you send by command

let msg = await message.channel.send({ embed });
msg.delete({timeout: 5000}); - Delted message with embed by timeout.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.