Last message BOT

I should do that when the song ends embed gets deleted, I tried using the command channel.last.Message.delete() but with this string deletes the last message that is in the chat but not that of the bot, thanks for the help
5 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
chewie
chewie2y ago
well you gonna have to save the message in your code somehow
yuyaaici_YT
yuyaaici_YTOP2y ago
an example please?
chewie
chewie2y ago
resolve the promise of .send() or .reply() whatever you are using to send the embed and save that variable somewhere
yuyaaici_YT
yuyaaici_YTOP2y ago
ok thanks
Want results from more Discord servers?
Add your server