notes: confirm note has been taken

This commit is contained in:
dece 2020-10-12 19:09:42 +02:00
parent c2287f3cee
commit e51ca46bdb
2 changed files with 2 additions and 0 deletions

View file

@ -41,6 +41,7 @@
"notes": {
"commands": ["note down"],
"content_regex": "for (?P<target>\\S+) (?P<note>.+)",
"confirmation": "Ok.",
"deliver_format": "{dest}, {sender} tells you: {message}"
},
"random": {

View file

@ -55,3 +55,4 @@ class NotesPlugin(Plugin):
"message": message
}
self.append_storage_list_value("notes", note)
self.bot.say(event.target, self.config["confirmation"])