File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ export class Base {
144144 await sendMasterMessage ( 'bilibili' , img )
145145 throw new Error ( err . data . amagiMessage )
146146 }
147- await e . reply ( segment . image ( img ) )
147+ await e . reply ( img )
148148 throw new Error ( err . data . amagiMessage )
149149 }
150150 return result
@@ -331,12 +331,12 @@ export const statBotId = (pushList) => {
331331 */
332332const sendMasterMessage = async ( platform , img ) => {
333333 if ( Version . BotName === 'TRSS-Yunzai' ) {
334- Bot . sendMasterMsg ( [ '推送任务出错!请即时解决以消除警告' , segment . image ( img ) ] )
334+ Bot . sendMasterMsg ( [ '推送任务出错!请即时解决以消除警告' , img ] )
335335 } else {
336336 const botId = statBotId ( Config . pushlist )
337337 const masterList = cfg . masterQQ
338338 for ( const masterQQ of masterList ) {
339- await Bot [ botId [ platform ] . botId ] . pickFriend ( masterQQ ) . sendMsg ( [ '推送任务出错!请即时解决以消除警告' , segment . image ( img ) ] )
339+ await Bot [ botId [ platform ] . botId ] . pickFriend ( masterQQ ) . sendMsg ( [ '推送任务出错!请即时解决以消除警告' , img ] )
340340 }
341341 }
342342}
Original file line number Diff line number Diff line change @@ -114,7 +114,8 @@ export const Render = async (path, params) => {
114114 admin : 'admin/html' ,
115115 kuaishou : 'kuaishou/html' ,
116116 help : 'help/html' ,
117- version : 'version/html'
117+ version : 'version/html' ,
118+ apiError : 'apiError/html'
118119 }
119120 const platform = Object . keys ( basePaths ) . find ( key => path . startsWith ( key ) )
120121 if ( platform ) {
You can’t perform that action at this time.
0 commit comments