Skip to content

Instantly share code, notes, and snippets.

@syncordyt
Created August 31, 2024 04:12
Show Gist options
  • Select an option

  • Save syncordyt/53c53f55c44abe4633c45069550b7417 to your computer and use it in GitHub Desktop.

Select an option

Save syncordyt/53c53f55c44abe4633c45069550b7417 to your computer and use it in GitHub Desktop.
Discord Experiments
let _, a = Object.values,
b = "getCurrentUser",
c = "actionHandler",
d = "_actionHandlers",
l = "_dispatcher",
i = "ExperimentStore";
webpackChunkdiscord_app.push([
[Date.now()], {},
e => {
_ = e
}
]), m = a((u = a(_.c).find(e => e?.exports?.default?.[b] && e?.exports?.default?.[l]?.[d]).exports.default)[l][d]._dependencyGraph.nodes), u[b]().flags |= 1, m.find(e => "Developer" + i == e.name)[c].CONNECTION_OPEN();
try {
m.find(e => i == e.name)[c].OVERLAY_INITIALIZE({
user: {
flags: 1
}
})
} catch {}
m.find(e => i == e.name).storeDidChange()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment