summaryrefslogtreecommitdiffstats
path: root/kalauerbot/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'kalauerbot/bot.py')
-rw-r--r--kalauerbot/bot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kalauerbot/bot.py b/kalauerbot/bot.py
index c4359d7..95aaac6 100644
--- a/kalauerbot/bot.py
+++ b/kalauerbot/bot.py
@@ -207,7 +207,7 @@ class Kalauerbot(MatrixBot):
entry = db[name]
if entry.get('record',None) != list: entry['record'] = []
say(f'Thank you for recording the kalauer! It is now associated to the user {name}')
- entry['record'].append({ 'date': datetime.now().isoformat(), 'kalauer': text})
+ entry['record'].append({ 'date': datetime.now().isoformat(), 'text': text})
self.save_db()
elif command == "kalauer:":
text = args.strip()
@@ -219,7 +219,7 @@ class Kalauerbot(MatrixBot):
entry['record'] = []
entry['record'].append({ 'date':
datetime.now().isoformat(),
- 'kalauer': text})
+ 'text': text})
break
else:
say('cannot associate your username to a kalauer user, please run `!identify <name>` before')