add model, axmodel, startswith cbs
This commit is contained in:
@@ -629,6 +629,12 @@ const matcher = (p1:string,matcherArg:matcherArg) => {
|
|||||||
case 'br':{
|
case 'br':{
|
||||||
return '\n'
|
return '\n'
|
||||||
}
|
}
|
||||||
|
case 'model':{
|
||||||
|
return db.aiModel
|
||||||
|
}
|
||||||
|
case 'axmodel':{
|
||||||
|
return db.subModel
|
||||||
|
}
|
||||||
}
|
}
|
||||||
const arra = p1.split("::")
|
const arra = p1.split("::")
|
||||||
if(arra.length > 1){
|
if(arra.length > 1){
|
||||||
@@ -687,6 +693,9 @@ const matcher = (p1:string,matcherArg:matcherArg) => {
|
|||||||
}
|
}
|
||||||
return Buffer.from(arra[2], 'base64').toString('utf-8')
|
return Buffer.from(arra[2], 'base64').toString('utf-8')
|
||||||
}
|
}
|
||||||
|
case 'startswith':{
|
||||||
|
return arra[1].startsWith(arra[2]) ? '1' : '0'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(p1.startsWith('random')){
|
if(p1.startsWith('random')){
|
||||||
|
|||||||
Reference in New Issue
Block a user