add initial settings
This commit is contained in:
parent
e8d4517606
commit
13343283d5
|
@ -0,0 +1,41 @@
|
|||
[
|
||||
{
|
||||
"id": "core",
|
||||
"text": "Core",
|
||||
"settings": [
|
||||
{
|
||||
"id": "voice-disconnect",
|
||||
"text": "Voice Disconnect",
|
||||
"hint": "Disconnect from voice server when Discord closes",
|
||||
"enabled": false,
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"id": "developer-mode",
|
||||
"text": "Developer Mode",
|
||||
"hint": "BetterDiscord developer mode",
|
||||
"enabled": false,
|
||||
"disabled": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "ui",
|
||||
"text": "UI",
|
||||
"settings": [
|
||||
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "emotes",
|
||||
"text": "Emotes",
|
||||
"settings": []
|
||||
},
|
||||
{
|
||||
"id": "security",
|
||||
"text": "Security",
|
||||
"settings": [
|
||||
|
||||
]
|
||||
}
|
||||
]
|
|
@ -0,0 +1,11 @@
|
|||
const defaultSettings = require('../../data/user.settings.default');
|
||||
|
||||
class Settings {
|
||||
|
||||
static get getSettings() {
|
||||
return defaultSettings;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = { Settings };
|
|
@ -6,4 +6,5 @@ export { BDIpc } from './core/bdipc';
|
|||
export { WebpackModules } from './core/webpackmodules';
|
||||
export { Events } from './core/events';
|
||||
export { SocketProxy } from './core/discordsocket';
|
||||
export { CssEditor } from './core/csseditor';
|
||||
export { CssEditor } from './core/csseditor';
|
||||
export { Settings } from './core/settings';
|
Loading…
Reference in New Issue