Closed JusteLoneWolf closed 3 years ago
It's the id
tag in the tags.
client.on('message', (channel, tags, message, self) => {
if(self) return;
client.deletemessage(channel, tags.id);
});
The tmi.js issues are not for programming questions. Please use MDN, StackOverflow, the "Twitch API" community Discord (#general-javascript
), or the official TwitchDev Discord (#javascript-and-node
) for general JavaScript support.
Actual behaviour: hello, How to get a messageUUID with message event ?
Expected behaviour: Get the messageUUID for delete this message