Using the Undo Command
Made a mistake and want to undo something? You can use the
/undo command to undo a ban, warning etc.
The Base command is
If you want to undo a ban, you must have the Ban Members permission.
/undo ban followed by the User ID, you can optionally add a reason as well.
As easy as it is, you can remove the timeout from a user. So to remove the timeout, you must have the Moderate Members permission.
/undo timeout followed by the User who was timed out.
If you are looking for how to manage warnings, you can check out the Warnings Guide.