diff --git a/src/ts/parser.ts b/src/ts/parser.ts index be806927..5dd86449 100644 --- a/src/ts/parser.ts +++ b/src/ts/parser.ts @@ -629,6 +629,12 @@ const matcher = (p1:string,matcherArg:matcherArg) => { case 'br':{ return '\n' } + case 'model':{ + return db.aiModel + } + case 'axmodel':{ + return db.subModel + } } const arra = p1.split("::") if(arra.length > 1){ @@ -687,6 +693,9 @@ const matcher = (p1:string,matcherArg:matcherArg) => { } return Buffer.from(arra[2], 'base64').toString('utf-8') } + case 'startswith':{ + return arra[1].startsWith(arra[2]) ? '1' : '0' + } } } if(p1.startsWith('random')){