aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example/plugins
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-15 09:54:07 +0800
committer简律纯 <i@jyunko.cn>2023-11-15 09:54:07 +0800
commit4df7db30d25dbcbd369de6c744214a367b3c409b (patch)
tree4cc51961adee8269ac3196808029b2d03c72f8fd /example/plugins
parentc0e3b6ed6805b14cd14772ea4068671bc285be3e (diff)
downloadHydroRoll-4df7db30d25dbcbd369de6c744214a367b3c409b.tar.gz
HydroRoll-4df7db30d25dbcbd369de6c744214a367b3c409b.zip
chore: delete config.toml
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(