Skip to content

Instantly share code, notes, and snippets.

View MCausc78's full-sized avatar

MCausc78

View GitHub Profile
@MCausc78
MCausc78 / forceReloadApplicationCommandCache.js
Created March 6, 2025 12:59
Forcefully reload application command cache
(() => {
let wp;
webpackChunkdiscord_app.push([[Symbol()], {}, r => wp = r]);
webpackChunkdiscord_app.pop();
let Dispatcher, GuildStore;
for (const m of Object.values(wp.c)) {
if (Dispatcher !== undefined && GuildStore !== undefined) break;
from __future__ import annotations
import json
import re
import requests
RE_EMOJIS: re.Pattern[str] = re.compile("= JSON\\.parse\\(('{\"people\":[^']+')\\)")
URL: str = 'https://raw.githubusercontent.com/Discord-Datamining/Discord-Datamining/refs/heads/master/current.js'
@MCausc78
MCausc78 / main.md
Last active May 29, 2024 20:23
Basic Discord typings

A basic Discord typings module for Rust