-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
09f7dc4
commit d30308d
Showing
9 changed files
with
83 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from dataclasses import dataclass | ||
from typing import Optional | ||
from arclet.letoderea import make_event | ||
|
||
|
||
@dataclass | ||
@make_event(name="entari.event/plugin/loaded_success") | ||
class PluginLoadedSuccess: | ||
name: str | ||
|
||
|
||
@dataclass | ||
@make_event(name="entari.event/plugin/loaded_failed") | ||
class PluginLoadedFailed: | ||
name: str | ||
error: Optional[Exception] = None | ||
"""若没有异常信息,说明该插件加载失败的原因是插件不存在。""" | ||
|
||
|
||
@dataclass | ||
@make_event(name="entari.event/plugin/unloaded") | ||
class PluginUnloaded: | ||
name: str |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ authors = [ | |
{name = "RF-Tar-Railt",email = "[email protected]"}, | ||
] | ||
dependencies = [ | ||
"arclet-letoderea>=0.14.5", | ||
"arclet-letoderea>=0.14.9", | ||
"arclet-alconna<2.0,>=1.8.34", | ||
"satori-python-core>=0.15.2", | ||
"satori-python-client>=0.15.2", | ||
|