Hey i work on a authorization plugin,
i need a way to delete the messages in the channel that writen before.
That includes the Commands, Errors and the message for the successed registration.
I thougt about it, i think i have to log the message ids and after that i need to delete them after a short timer.
Maybe is there a way to delete all messages in the channel exclude pinned ones or exclude a message with a id.
But i dont know how to realize that. i hope someone can help me.