Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Dec 14, 2024
1 parent dfc7996 commit 891f111
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { ActionMap } from "@/onebot/action";

export const plugin_onmessage = async (adapter: string, core: NapCatCore, obCore: NapCatOneBot11Adapter, message: OB11Message, action: ActionMap) => {
if (message.raw_message === 'ping') {
// TODO:
// const a = action.get('fetch_user_profilqe_like');
const ssa = action.get('fetch_user_profile_like');
const ret = await action.get('send_group_msg')?.handle({ group_id: String(message.group_id), message: 'pong' }, adapter);
console.log(ret);
}
Expand Down

0 comments on commit 891f111

Please sign in to comment.