fix: wrong type
This commit is contained in:
@@ -2235,8 +2235,8 @@ export function getGlobalChatVar(key:string){
|
|||||||
return DBState.db.globalChatVariables[key] ?? 'null'
|
return DBState.db.globalChatVariables[key] ?? 'null'
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setGlobalChatVar(key:string, value:bool){ // TODO: check globalChatVariables possible type
|
export function setGlobalChatVar(key:string, value:string){
|
||||||
DBState.db.globalChatVariables[key] = value
|
DBState.db.globalChatVariables[key] = value // String to String Map(dictionary)
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setChatVar(key:string, value:string){
|
export function setChatVar(key:string, value:string){
|
||||||
|
|||||||
Reference in New Issue
Block a user