summaryrefslogtreecommitdiff
path: root/ATRI
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI')
-rw-r--r--ATRI/plugins/kimo/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ATRI/plugins/kimo/__init__.py b/ATRI/plugins/kimo/__init__.py
index b1c5698..31ecab1 100644
--- a/ATRI/plugins/kimo/__init__.py
+++ b/ATRI/plugins/kimo/__init__.py
@@ -21,7 +21,8 @@ async def _chat(event: MessageEvent):
msg = str(event.message)
repo = await Kimo().deal(msg, user_id)
try:
- await kimo.finish(repo)
+ if repo:
+ await kimo.send(repo)
except Exception:
return