改成使用注解来注册模块

This commit is contained in:
2022-07-16 12:34:14 +08:00
parent d76090af75
commit 05e8814b91
27 changed files with 76 additions and 64 deletions

View File

@@ -1,5 +1,6 @@
package com.yutou.qqbot.models.Commands;
import com.yutou.qqbot.Annotations.UseModel;
import com.yutou.qqbot.QQBotManager;
import com.yutou.qqbot.interfaces.DownloadInterface;
import com.yutou.qqbot.models.Model;
@@ -14,7 +15,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@UseModel
public class Bangumi extends Model {