Skip to content

Commit

Permalink
fix: help.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yusheng929 authored Aug 6, 2024
1 parent 7395387 commit b0ff139
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions apps/help.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { karin, segment, common } from 'node-karin'

export const help = karin.command(/^#?/, async (e) => {
e.reply(segment.image(`file://karin-plugin-group/resources/help/help.jpg`))
return true
})
import { karin, segment,common } from 'node-karin';
const Path = common.absPath("./plugins/karin-plugin-group/resources/help", true, false);
export const BCommand = karin.command('^#?群管帮助$', segment.image(Path + '/help.jpg'))

0 comments on commit b0ff139

Please sign in to comment.