Skip to content

Commit

Permalink
Merge pull request #45 from cmd1152/main
Browse files Browse the repository at this point in the history
fix omg_afkbot
  • Loading branch information
xjzh123 authored Mar 24, 2024
2 parents 9163ba5 + 9e85783 commit 4ff88d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/omg_afkbot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}
Expand Down

0 comments on commit 4ff88d2

Please sign in to comment.