Skip to content

Instantly share code, notes, and snippets.

View brendan-rius's full-sized avatar

Brendan Rius brendan-rius

View GitHub Profile
@brendan-rius
brendan-rius / enableDiscordExperiments.js
Created July 6, 2019 20:28 — forked from MPThLee/enableDiscordExperiments.js
Enable Discord Developer Menus in any environment except mobile app without BetterDiscord using Console.
(() => {
// Extracted from Samogot's LibDiscordInternals for BetterDiscord.
const req = typeof(webpackJsonp) === "function" ? webpackJsonp([], {
'__extra_id__': (module, exports, req) => exports.default = req
}, ['__extra_id__']).default : webpackJsonp.push([[], {
'__extra_id__': (module, exports, req) => module.exports = req
}, [['__extra_id__']]]);
delete req.m['__extra_id__'];
delete req.c['__extra_id__'];
const find = (filter, options = {}) => {