Is it possible to implement a regex check in the check argument of discord.TextChannel.purge?
I believe that I have to use lambda or something, but I'm really not sure. Any example would be appreciated!
I'm using the latest version of both pycord and re.
Lambdacan be used. You have to define a method to check if the message matches the Regex.Edit: Fixed code. Was wrong. Now right.