Update hotkey.ts to display the name of the

selected preset

Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
hashcoko
2023-11-28 02:13:31 +09:00
parent 0b52c04ee7
commit 5aed856988

View File

@@ -70,7 +70,7 @@ function changeToPreset(num:number){
let db = get(DataBase)
let pres = db.botPresets
if(pres.length > num){
alertToast(`Changed to Preset ${num+1}`)
alertToast(`Changed to Preset ${num+1} || Preset name : ${pres[num].name}`)
changeToPreset2(num)
}
}