This commit is contained in:
手瓜一十雪
2024-08-09 16:30:54 +08:00
parent 9d1cf45ea1
commit dbe907b450
6 changed files with 6 additions and 11 deletions

View File

@@ -1,12 +1,12 @@
import BaseAction from '../BaseAction';
import { OB11Version } from '../../types';
import { ActionName } from '../types';
import { version } from '@/onebot11/version';
import { version } from '@/onebot/version';
export default class GetVersionInfo extends BaseAction<any, OB11Version> {
actionName = ActionName.GetVersionInfo;
protected async _handle(payload: any): Promise<OB11Version> {
protected async _handle(payload: any): Promise<any> {
return {
app_name: 'NapCat.Onebot',
protocol_version: 'v11',