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.

@dchem
dchem / tabpocalypse.sh
Created July 17, 2015 23:06
Tabs converted to 2 spaces
find ./ -type f -not -iwholename '*.git*' -exec bash -c 'expand -t 2 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;
### Keybase proof
I hereby claim:
* I am dchem on github.
* I am dchem (https://keybase.io/dchem) on keybase.
* I have a public key whose fingerprint is A929 CBDF 3631 4A26 C2F9 472A 7724 876E 18D2 DF6F
To claim this, I am signing this object: