mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: path
This commit is contained in:
@@ -3,7 +3,7 @@ import { NapCatOneBot11Adapter, OB11Message } from '@/onebot';
|
|||||||
import { NapCatCore } from '@/core';
|
import { NapCatCore } from '@/core';
|
||||||
import { ActionMap } from '../action';
|
import { ActionMap } from '../action';
|
||||||
import { AdapterConfig } from '../config/config';
|
import { AdapterConfig } from '../config/config';
|
||||||
import { plugin_onmessage } from '@/core/plugin';
|
import { plugin_onmessage } from '@/plugin';
|
||||||
|
|
||||||
export class OB11PluginAdapter implements IOB11NetworkAdapter {
|
export class OB11PluginAdapter implements IOB11NetworkAdapter {
|
||||||
isEnable: boolean = true;
|
isEnable: boolean = true;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { NapCatOneBot11Adapter, OB11Message } from "@/onebot";
|
import { NapCatOneBot11Adapter, OB11Message } from "@/onebot";
|
||||||
import SendGroupMsg from "@/onebot/action/group/SendGroupMsg";
|
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) => {
|
export const plugin_onmessage = async (adapter: string, core: NapCatCore, obCore: NapCatOneBot11Adapter, message: OB11Message) => {
|
||||||
if (message.raw_message === 'ping') {
|
if (message.raw_message === 'ping') {
|
Reference in New Issue
Block a user