The RaidCleaner bot has multiple moderation commands such as: ban, mute, warn, clear, etc… It has of course its batch of anti-raid control, here are some examples:
/clean which allows to remove a large amount of channels,
/server-locked which allows to block the server by making sure that no one enters the server is possible and that all users present on the server can do nothing.
You can add it to your server through this link.
If you have a problem you can join the Support Server to ask your questions.Check out the home page for the full Discord Bot List.