新增all_poke

This commit is contained in:
Shua-github
2024-12-27 00:24:35 +08:00
parent 9cd15ae337
commit a9e471deca
4 changed files with 28 additions and 1 deletions

View File

@@ -104,7 +104,8 @@ import { GetGuildList } from './guild/GetGuildList';
import { GetGuildProfile } from './guild/GetGuildProfile';
import { GetClientkey } from './extends/GetClientkey';
import { SendPacket } from './extends/SendPacket';
import { AllPoke } from "@/onebot/action/packet/AllPoke";
export function createActionMap(obContext: NapCatOneBot11Adapter, core: NapCatCore) {
const actionHandlers = [
@@ -220,6 +221,7 @@ export function createActionMap(obContext: NapCatOneBot11Adapter, core: NapCatCo
new SendGroupAiRecord(obContext, core),
new GetAiCharacters(obContext, core),
new SendPacket(obContext, core),
new AllPoke(obContext, core),
];
type HandlerUnion = typeof actionHandlers[number];