Skip to content

Instantly share code, notes, and snippets.

@ahmetozer
Last active November 15, 2018 23:34
Show Gist options
  • Save ahmetozer/1c7de5aceff52b48fd68145befb9cca7 to your computer and use it in GitHub Desktop.
Save ahmetozer/1c7de5aceff52b48fd68145befb9cca7 to your computer and use it in GitHub Desktop.
Delete all messages from Discord channel
title
Discord Delete Message

Sometimes we may need to delete messages for any reason. In such cases, you can delete your messages on discord channels with the help of the AutoHotKey application, without using any add-on boots. It is very simple as the application actually does. The application will send you a request to delete manually, imitating mause and keyboard on your place.

Download AHK.exe

Create a new file on your desktop, rename this file "del.ahk" . Paste codes in below. Drag the del.ahk file onto ahk.exe.

Open discord app , select channel and press t. AHK will delete all your messages. If you want to stop the application, right-click on the icon H in the task bar and select EXIT.

t::

Loop, 1000000
{
	Click, WheelUp
	send,{Up}
	send,^a
	send,{BS}
	send,{Enter}
	send,{Enter}
	sleep,100
}

Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment