Fix name in parser.ts
This commit is contained in:
@@ -406,7 +406,7 @@ const matcher = (p1:string,matcherArg:matcherArg) => {
|
|||||||
const chara = matcherArg.chara
|
const chara = matcherArg.chara
|
||||||
switch(lowerCased){
|
switch(lowerCased){
|
||||||
case 'previous_char_chat':
|
case 'previous_char_chat':
|
||||||
case 'lastusermessage':{
|
case 'lastcharmessage':{
|
||||||
if(chatID !== -1){
|
if(chatID !== -1){
|
||||||
const selchar = db.characters[get(selectedCharID)]
|
const selchar = db.characters[get(selectedCharID)]
|
||||||
const chat = selchar.chats[selchar.chatPage]
|
const chat = selchar.chats[selchar.chatPage]
|
||||||
@@ -422,7 +422,7 @@ const matcher = (p1:string,matcherArg:matcherArg) => {
|
|||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
case 'previous_user_chat':
|
case 'previous_user_chat':
|
||||||
case 'lastcharmessage':{
|
case 'lastusermessage':{
|
||||||
if(chatID !== -1){
|
if(chatID !== -1){
|
||||||
const selchar = db.characters[get(selectedCharID)]
|
const selchar = db.characters[get(selectedCharID)]
|
||||||
const chat = selchar.chats[selchar.chatPage]
|
const chat = selchar.chats[selchar.chatPage]
|
||||||
|
|||||||
Reference in New Issue
Block a user