Add Custom GUI settings, not for real use now
This commit is contained in:
@@ -444,6 +444,7 @@ export function setDatabase(data:Database){
|
||||
data.customQuotes ??= false
|
||||
data.customQuotesData ??= ['“','”','‘','’']
|
||||
data.groupOtherBotRole ??= 'user'
|
||||
data.customGUI ??= ''
|
||||
changeLanguage(data.language)
|
||||
DataBase.set(data)
|
||||
}
|
||||
@@ -752,6 +753,7 @@ export interface Database{
|
||||
customQuotesData?:[string, string, string, string]
|
||||
groupTemplate?:string
|
||||
groupOtherBotRole?:string
|
||||
customGUI:string
|
||||
}
|
||||
|
||||
export interface customscript{
|
||||
|
||||
@@ -50,6 +50,7 @@ export const CustomCSSStore = writable('')
|
||||
export const SafeModeStore = writable(false)
|
||||
export const MobileSearch = writable('')
|
||||
export const CharConfigSubMenu = writable(0)
|
||||
export const CustomGUISettingMenuStore = writable(false)
|
||||
|
||||
let lastGlobalEnabledModules: string[] = []
|
||||
let lastChatEnabledModules: string[] = []
|
||||
|
||||
Reference in New Issue
Block a user