Skip to content

Commit 983da32

Browse files
committed
format code with ruff
1 parent 32f11d9 commit 983da32

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

astrbot/api/event/filter/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
from astrbot.core.star.register import register_on_plugin_loaded as on_plugin_loaded
3939
from astrbot.core.star.register import register_on_plugin_unloaded as on_plugin_unloaded
40+
4041
__all__ = [
4142
"CustomFilter",
4243
"EventMessageType",

astrbot/core/star/register/star_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,6 @@ def decorator(awaitable):
391391
return decorator
392392

393393

394-
395394
def register_on_waiting_llm_request(**kwargs):
396395
"""当等待调用 LLM 时的通知事件(在获取锁之前)
397396

astrbot/core/star/star_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class EventType(enum.Enum):
203203
OnLLMToolRespondEvent = enum.auto() # 调用函数工具后
204204
OnAfterMessageSentEvent = enum.auto() # 发送消息后
205205
OnPluginErrorEvent = enum.auto() # 插件处理消息异常时
206-
OnPluginLoadedEvent = enum.auto() # 插件加载完成
206+
OnPluginLoadedEvent = enum.auto() # 插件加载完成
207207
OnPluginUnloadedEvent = enum.auto() # 插件卸载完成
208208

209209

0 commit comments

Comments
 (0)