diff options
| author | 2023-12-17 21:07:23 +0800 | |
|---|---|---|
| committer | 2023-12-17 21:07:23 +0800 | |
| commit | dd27866fc9763af6f5b03024296dd74148d91eb3 (patch) | |
| tree | 8dd6940bc58cb9b09ede57298594eb079ed71221 | |
| parent | 5763d8e4706efca2d238b63d124d4d0064f990ad (diff) | |
| download | infini-dd27866fc9763af6f5b03024296dd74148d91eb3.tar.gz infini-dd27866fc9763af6f5b03024296dd74148d91eb3.zip | |
:bug: 修订消息事件生成模式
| -rw-r--r-- | src/infini/event.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/infini/event.py b/src/infini/event.py index 1f04afeb..555dec57 100644 --- a/src/infini/event.py +++ b/src/infini/event.py @@ -29,9 +29,8 @@ class MessageEvent(InfiniEvent): output: str kwargs: Dict[str, Any] - def __init__(self, name: str, output: str, **kwargs) -> None: + def __init__(self, name: str, **kwargs) -> None: self.name = name - self.output = output self.kwargs = kwargs def __repr__(self) -> str: |
