Skip to content

Instantly share code, notes, and snippets.

View JasminDreasond's full-sized avatar
🍮
Pudding~! :3

Yasmin Seidel JasminDreasond

🍮
Pudding~! :3
View GitHub Profile

Keybase proof

I hereby claim:

  • I am jasmindreasond on github.
  • I am jasmindreasond (https://keybase.io/jasmindreasond) on keybase.
  • I have a public key ASAgFrQ6ZlTJdnmEQ15cpsiprOkUiN2mYbPJhOTlWNxkigo

To claim this, I am signing this object:

@JasminDreasond
JasminDreasond / delete-all-messages.js
Created January 4, 2019 07:11 — forked from IMcPwn/delete-all-messages.js
Delete all messages in a Discord channel
// Turn on Developer Mode under User Settings > Appearance > Developer Mode (at the bottom)
// Then open the channel you wish to delete all of the messages (could be a DM) and click the three dots on the far right.
// Click "Copy ID" and paste that instead of LAST_MESSAGE_ID.
// Copy / paste the below script into the JavaScript console.
// If you're in a DM you will receive a 403 error for every message the other user sent (you don't have permission to delete their messages).
var before = 'LAST_MESSAGE_ID';
clearMessages = function(){
const authToken = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, "");
const channel = window.location.href.split('/').pop();
@JasminDreasond
JasminDreasond / get_channel_perm.js
Last active January 25, 2018 04:53
Get the list of permissions of a channelID using the library Discord.io
/**
https://github.com/JackieApkon/
By Jackie Apkon
License : MIT
Thanks very much Keter by the help with the bitmask
EXAMPLE:
channel_perm(channelID, {
@JasminDreasond
JasminDreasond / JSON Tumblr Fun
Created April 4, 2017 19:12 — forked from xtkoeller/JSON Tumblr Fun
Tumblr JSON API
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript">
var globalTag = null;
var pageNum = null;