aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'example/plugins')
-rw-r--r--example/plugins/HydroRoll/__init__.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/example/plugins/HydroRoll/__init__.py b/example/plugins/HydroRoll/__init__.py
index cbf4463..d8c87f5 100644
--- a/example/plugins/HydroRoll/__init__.py
+++ b/example/plugins/HydroRoll/__init__.py
@@ -82,10 +82,7 @@ class HydroRoll(Plugin):
logger.info("loading psi...")
if (
not self.bot.global_state["HydroRoll"].get("hola")
- and self.event.type == "message"
- and self.event.message_type == "private"
and not os.path.exists(join(BASE_DIR, "HydroRoll"))
- and self.event.adapter.name in ["cqhttp", "kook", "console", "mirai"]
):
# hola = self.models["hola"]
# _, max_similarity = find_max_similarity(