From 07e2ac607e0bf878eaf70df7fdb227e375be4a1d Mon Sep 17 00:00:00 2001 From: Milka64 Date: Fri, 8 Nov 2019 17:04:53 +0100 Subject: [PATCH] fix log --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index a365a55..7fe7b37 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -170,7 +170,7 @@ def main(): if bot.user in message.mentions \ and len(message.mentions) < 3 \ and len(message.content.splitlines()) == 1: - path = '/tmp/%s.log' % message.channel + path = '/home/mika/.kabot/%s.log' % message.channel with open(path, 'r') as f : lines = f.read().splitlines() if not message.content in lines: