Skip to content

Commit 1b9463d

Browse files
Merge pull request #36 from ITCraftDevelopmentTeam/feat/ignore-bot
允许屏蔽 WebHook
2 parents 403fc01 + 3e963e7 commit 1b9463d

File tree

144 files changed

+12901
-8169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+12901
-8169
lines changed

actions/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ def decorator(func: Callable) -> None:
1515
return decorator
1616
'''
1717

18+
1819
def register_action(_type: str = "v12", name: str | None = None) -> Callable:
1920
def _(func: Callable):
2021
action_list[_type][n := name or func.__name__] = func
2122
logger.debug(f"成功注册动作:{n} ({_type=})")
2223
return func
24+
2325
return _

0 commit comments

Comments
 (0)