Delete every message of a user on a discord server.
Took the script from here then edited it to use discord search API to get messages in the whole server from the user using this script.
You have to fill the guildID (= server ID) yourself. search on google how to do it