diff --git a/addons/plugins/helloworld/helloworld.py b/addons/plugins/helloworld/helloworld.py index 9e74b266..c9e03683 100644 --- a/addons/plugins/helloworld/helloworld.py +++ b/addons/plugins/helloworld/helloworld.py @@ -1,24 +1,16 @@ import os import shutil from nakuru.entities.components import * -from nakuru import ( - GroupMessage, - FriendMessage -) -from botpy.message import Message, DirectMessage flag_not_support = False try: from util.plugin_dev.api.v1.config import * from util.plugin_dev.api.v1.bot import ( - PluginMetadata, - PluginType, AstrMessageEvent, CommandResult, ) - from util.plugin_dev.api.v1.register import register_llm, unregister_llm except ImportError: flag_not_support = True - print("llms: 导入接口失败。请升级到 AstrBot 最新版本。") + print("导入接口失败。请升级到 AstrBot 最新版本。") '''