discord.io
discord.io copied to clipboard
Is it possible to log ID of a message bot is sending?
I mean rawEvent.d.id logs ID of a previous message, that triggered the bot. But what if I want to log the message it's sending?
For a purpose of doing such command:
!mem - sends a meme and logs ID of a message !remem - delete previous meme (it has to know the ID of the message it should delete, right?) and sends new meme
So is this possible?
.sendMessage(options, (err, res) => {
// do something with res.id
Feel free to join the official server to ask more questions: https://discord.gg/0MvHMfHcTKVVmIGP