diff options
| author | 2024-06-17 03:52:59 +0800 | |
|---|---|---|
| committer | 2024-06-17 03:52:59 +0800 | |
| commit | 525de52d687b44fb14be7da2c46c548eb8a32fbd (patch) | |
| tree | f696587114334a87bcc672f08b9c161d797abf13 /examples/plugins/cachetool.py | |
| parent | 5597a8af382e256951d3813aad1cedf41fcde9ac (diff) | |
| download | HydroRoll-525de52d687b44fb14be7da2c46c548eb8a32fbd.tar.gz HydroRoll-525de52d687b44fb14be7da2c46c548eb8a32fbd.zip | |
refactor(examples): update file tree
Diffstat (limited to 'examples/plugins/cachetool.py')
| -rw-r--r-- | examples/plugins/cachetool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plugins/cachetool.py b/examples/plugins/cachetool.py index 77885d2..3955891 100644 --- a/examples/plugins/cachetool.py +++ b/examples/plugins/cachetool.py @@ -29,5 +29,5 @@ class CachedPlugin(Plugin): async def rule(self) -> bool: return ( isinstance(self.event, MessageEvent) - and self.event.get_plain_text() == ".cachetools" + and self.event.get_plain_text() == "/cachetools" ) |
