Vencord/src/plugins/experiments.ts

15 lines
387 B
TypeScript
Raw Normal View History

2022-08-29 20:05:22 +00:00
import definePlugin from '../utils/types';
export default definePlugin({
name: "Experiments",
author: "Vendicated",
description: "Enable Experiments",
patches: [{
find: "Object.defineProperties(this,{isDeveloper",
replacement: {
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
replace: "true"
}
}]
});