Skip to content

Instantly share code, notes, and snippets.

View dylanjamesdev's full-sized avatar
🤒

Dylan J. dylanjamesdev

🤒
View GitHub Profile
@hyonschu
hyonschu / deleteDiscordMessages.js
Created July 11, 2019 19:36 — forked from victornpb/deleteDiscordMessages.js
Delete all your messages from DM or Channel in Discord
//Paste this function in DevTools console inside Discord
/**
* Delete all messages in a Discord channel or DM
* @param {string} authToken Your authorization token
* @param {string} authorId Author of the messages you want to delete
* @param {string} channelId Channel were the messages are located
* @param {string} afterMessageId Only delete messages after this, leave blank do delete all
* @author Victornpb <https://www.github.com/victornpb>
* @see https://gist.github.com/victornpb/135f5b346dea4decfc8f63ad7d9cc182
@Soheab
Soheab / API's.md
Last active November 17, 2024 04:14
See here some of the API's you can use in your discord bot or anything

Some API's for you.

See here some of the API's you can use in your discord bot or anything. For any help or questions on how to use one, please contact the owner of the API and not me.

A much bigger list of APIs can be found here


[TOKEN] = API requires a token to access some if not all endpoints.

The descriptions are mostly copied from the API, sometimes personal or from the dev.

@dylanjamesdev
dylanjamesdev / rename-hentai.js
Created February 13, 2022 05:09
A super simple script that renames all files in a dir to random strings.
/**
* A super simple scripty to rename all files in a directory to random strings, I use this to rename hentai lmao.
* ~~uwu instructions~~
* npm i fs chalk --save
* node run [file].js
*/
const fs = require("fs"),
c = require("chalk"); // Has to 2.0.0 bc stupid esm modules