From 9e857834cc3b9b7c9c2b6da53d8cbef9abbdcc88 Mon Sep 17 00:00:00 2001 From: cmd1152 Date: Sun, 24 Mar 2024 16:39:41 +0800 Subject: [PATCH] fix omg_afkbot --- plugins/omg_afkbot/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/omg_afkbot/index.js b/plugins/omg_afkbot/index.js index d99ac29..a40cf94 100644 --- a/plugins/omg_afkbot/index.js +++ b/plugins/omg_afkbot/index.js @@ -60,7 +60,7 @@ function runawa(arg) { let hcmsg = JSON.parse(arg.querySelector('p').getAttribute('data-raw')); try { if (hcmsg.trip == "AAfFKK" && hcmsg.text.indexOf('==Trips==') !== -1) { - showAfK(arg,hcmsg.text) + showAfK(arg,hcmsg.cmd=="info"?hcmsg.text.substring(14+hcmsg.from.length):hcmsg.text) } } catch (err) {} }