Skip to content

Instantly share code, notes, and snippets.

View dchem's full-sized avatar

Jae Yang dchem

View GitHub Profile
@dchem
dchem / how-to.md
Created November 21, 2018 21:34 — forked from orion-v/how-to.md
Delete all messages of an user in a Discord channel or server

Delete discord user message history

This script allow for user specific message deletion from an entire server or a single channel using the browser console. This script uses discord search API and it will only delete messages of a chosen user.

How to use

1. Enable developer mode in discord

Go to user settings > appearance in discord and enable Developer mode.

2. Copy and paste the script to a file so you can change the server and author ids.

3. Replace the server and author ids with your own.