NapCatQQ source snapshot
This commit is contained in:
commit
f954252a34
1111 files changed
+139867
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { OneBotAction } from './OneBotAction';
|
||||
export const AutoRegisterRouter: Array<new (...args: any[]) => OneBotAction<unknown, unknown>> = [];
|
||||
|
||||
export function ActionHandler (target: new (...args: any[]) => OneBotAction<unknown, unknown>) {
|
||||
AutoRegisterRouter.push(target);
|
||||
}
|
||||
Reference in new issue
Block a user