aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/plugins/cachetool.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/plugins/cachetool.py')
-rw-r--r--examples/plugins/cachetool.py2
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"
)