mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-07 04:40:00 +08:00
🐛 修复插件限制加载显示
This commit is contained in:
@@ -112,7 +112,7 @@ class Manager:
|
||||
elif isinstance(data, BaseBlock):
|
||||
self.block_data[module] = data
|
||||
|
||||
def exist(self, module: str, type: PluginLimitType):
|
||||
def exists(self, module: str, type: PluginLimitType):
|
||||
"""是否存在"""
|
||||
if type == PluginLimitType.CD:
|
||||
return module in self.cd_data
|
||||
|
||||
Reference in New Issue
Block a user