This commit is contained in:
Milka64 2019-11-08 17:04:53 +01:00
parent 901119008f
commit 07e2ac607e

View file

@ -170,7 +170,7 @@ def main():
if bot.user in message.mentions \ if bot.user in message.mentions \
and len(message.mentions) < 3 \ and len(message.mentions) < 3 \
and len(message.content.splitlines()) == 1: 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 : with open(path, 'r') as f :
lines = f.read().splitlines() lines = f.read().splitlines()
if not message.content in lines: if not message.content in lines: