aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example/plugins/r.py
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-15 10:15:12 +0800
committer简律纯 <i@jyunko.cn>2023-11-15 10:15:12 +0800
commitdfecacde300b0a38907fb6a1d4aa22a202b57f0d (patch)
tree29f60fdbffdbf72e437db3d4797df4baab9cbba2 /example/plugins/r.py
parentdb609bc298b8fe9f63de4263fa4ac99b197bf0cd (diff)
downloadHydroRoll-dfecacde300b0a38907fb6a1d4aa22a202b57f0d.tar.gz
HydroRoll-dfecacde300b0a38907fb6a1d4aa22a202b57f0d.zip
refactor: embedded BasePluginConfig in utils
Diffstat (limited to 'example/plugins/r.py')
-rw-r--r--example/plugins/r.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/example/plugins/r.py b/example/plugins/r.py
deleted file mode 100644
index 2f05af9..0000000
--- a/example/plugins/r.py
+++ /dev/null
@@ -1,10 +0,0 @@
-from iamai import Plugin
-
-
-class Roll(Plugin):
- async def handle(self) -> None:
- await self.event.reply("""Attack: 25
-Damage: 9""")
-
- async def rule(self) -> bool:
- return self.event.type == "message" and self.event.message.startswith("/r")