You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
609 B
26 lines
609 B
import webpack from "../../webpack"
|
|
import { after } from "../../patcher"
|
|
import test from "./test.jsx"
|
|
|
|
const SettingsView = webpack.findByDisplayName("SettingsView")
|
|
|
|
function init() {
|
|
after("getPredicateSections", SettingsView.default.prototype, (args, sections) => {
|
|
sections.unshift(
|
|
{
|
|
section: "HEADER",
|
|
label: "Demoncord"
|
|
},
|
|
{
|
|
section: "demoncord",
|
|
label: "Plugins",
|
|
element: test
|
|
},
|
|
{
|
|
section: "DIVIDER"
|
|
})
|
|
return sections;
|
|
})
|
|
}
|
|
|
|
export default { init } |