mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-01 09:39:59 +08:00
perf👌: 完善插件管理api
This commit is contained in:
@@ -29,3 +29,6 @@ class PluginDataManager(StaticData[PluginData]):
|
||||
|
||||
def __getitem__(self, item) -> Optional[PluginData]:
|
||||
return self._data.get(item)
|
||||
|
||||
def reload(self):
|
||||
pass
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from typing import Literal
|
||||
|
||||
BLOCK_TYPE = Literal["all", "private", "group"]
|
||||
"""禁用类型"""
|
||||
|
||||
Reference in New Issue
Block a user