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 User3y ago
Message Not Public
Sign In & Join Server To View
chewie
chewie3y ago
well you gonna have to save the message in your code somehow
yuyaaici_YT
yuyaaici_YTOP3y ago
an example please?
chewie
chewie3y ago
resolve the promise of .send() or .reply() whatever you are using to send the embed and save that variable somewhere
yuyaaici_YT
yuyaaici_YTOP3y ago
ok thanks

Did you find this page helpful?