diff options
| author | 2023-11-15 10:15:12 +0800 | |
|---|---|---|
| committer | 2023-11-15 10:15:12 +0800 | |
| commit | dfecacde300b0a38907fb6a1d4aa22a202b57f0d (patch) | |
| tree | 29f60fdbffdbf72e437db3d4797df4baab9cbba2 /example/plugins/r.py | |
| parent | db609bc298b8fe9f63de4263fa4ac99b197bf0cd (diff) | |
| download | HydroRoll-dfecacde300b0a38907fb6a1d4aa22a202b57f0d.tar.gz HydroRoll-dfecacde300b0a38907fb6a1d4aa22a202b57f0d.zip | |
refactor: embedded BasePluginConfig in utils
Diffstat (limited to 'example/plugins/r.py')
| -rw-r--r-- | example/plugins/r.py | 10 |
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") |
