Discord Command: /clear channel messages
This is a simple app that adds a
/clear command to your Discord server.
You can specify the number of lines to clear, with
0 clearing all channel history.
/clear command will automatically be created on the first guild your
bot is connected to when the app is installed. If you need to create the command
again for any reason, you can trigger the
endpoint by running it in Autocode.