Skip to content

Skipping specific channels

Connor Edwards edited this page Aug 10, 2022 · 2 revisions

It is possible to skip message deletion for certain channels (such as DMs with close friends):

  • The -s or --skip parameter needs to be passed for every channel to be skipped.

Let's say that the user wants to skip deletion for the following:

  • A guild with ID 777813370090815590

  • A channel in another guild with ID 796286628817272843

  • A direct message channel with ID 805364751726280745

The command for skipping these would look something like this:

  • ./discord-delete -s 777813370090815590 -s 796286628817272843 -s 805364751726280745

  • If a guild has already been skipped, there is no need to skip individual channels from that guild.

Obtaining IDs

"Developer Mode" must be enabled in Settings -> App Settings -> Appearance:

Guilds:

  • Right-click on the guild icon and click on "Copy ID".

Channels:

  • Same as guilds but right-click on the channel name instead.

DM channels:

  • Open the Discord webapp and navigate to the user whose message history you want to keep (In Direct Messages).

  • The channel ID is contained in the URL after channels/@me/, in this case it is 733702648674517054