Message management

Harmful messages on your server? Then all of these DraftBot commands will help you!

Several commands on this page ask you to designate a specific message. You can give either its link or its ID. To find out how to obtain them, see the Finding an ID page.

Deleting messages

You can delete messages with the /clear messages command. DraftBot then deletes the number of messages you have given.

Two optional settings are available:

  • [search] to delete only the messages containing a specific word.
  • [user] to delete only the most recent messages sent by that member.

You also have the /clear after command, which deletes a certain number of messages sent after a message you designate.

DraftBot can only delete messages if it has the "Manage Messages" permission on your server.

Deleting every message in a channel

To empty a channel completely, DraftBot proceeds in two steps: it deletes the channel, then recreates it identically (same name, description and permissions), but without the messages.

Use the /clear-channel command for this. If you want to empty a channel other than the one you are running the command in, specify it with the [channel] option.

This action cannot be undone: the channel's messages are lost for good.

DraftBot can only empty a channel if it has the "Manage Messages" and "Manage Channels" permissions on your server.

Deleting the messages of a conversation

If an unwanted discussion takes place on your server, there is no need to delete every message before it: the /clear conversation command only removes the messages between the two you designate.

DraftBot can only delete a conversation if it has the "Manage Messages" permission on your server.

Copying one or more messages

To copy a member's message into another channel (or the same one), use the /copy command.

To copy several messages at once, add the [last_message] option: DraftBot then copies every message between the first and the last.

DraftBot can only copy messages if it has the "Manage Webhooks" and "Manage Messages" permissions on your server.

Moving one or more messages

Is a message in the wrong place? The /move command moves it to another channel.

To move several messages at once, add the [last_message] option.

DraftBot can only move messages if it has the "Manage Webhooks" and "Manage Messages" permissions on your server.

Quoting a message

If you have to repeat the same message several times on your server, DraftBot has a feature made for you: the /quote command.

To quote a message located in another channel, use the [channel] option.

DraftBot can only quote a message if it has the "Manage Messages" permission on your server.

Saving a conversation

You can save a conversation with the /save conversation command, marking out the part to keep:

  • [first_message]: the first message you want to save.
  • [last_message]: the last message you want to save.

DraftBot then generates a save file. Download it to your computer, then open it in your browser to read the discussion again.

If you want to delete the messages concerned once the save is done, add the [delete_conversation] option and select "Yes".

You can only save a conversation if you have the "Manage Messages" permission on your server, or an override.