fix: path
This commit is contained in:
1 parent
fed1ec5d83
commit
ecde2427da
2 files changed
+2
-2
No files matched your search
@@ -3,7 +3,7 @@ import { NapCatOneBot11Adapter, OB11Message } from '@/onebot';
|
||||
import { NapCatCore } from '@/core';
|
||||
import { ActionMap } from '../action';
|
||||
import { AdapterConfig } from '../config/config';
|
||||
import { plugin_onmessage } from '@/core/plugin';
|
||||
import { plugin_onmessage } from '@/plugin';
|
||||
|
||||
export class OB11PluginAdapter implements IOB11NetworkAdapter {
|
||||
isEnable: boolean = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NapCatOneBot11Adapter, OB11Message } from "@/onebot";
|
||||
import SendGroupMsg from "@/onebot/action/group/SendGroupMsg";
|
||||
import { NapCatCore } from "..";
|
||||
import { NapCatCore } from "../core";
|
||||
|
||||
export const plugin_onmessage = async (adapter: string, core: NapCatCore, obCore: NapCatOneBot11Adapter, message: OB11Message) => {
|
||||
if (message.raw_message === 'ping') {
|
||||
Reference in new issue
Block a user