notes: confirm note has been taken

master
dece 4 years ago
parent c2287f3cee
commit e51ca46bdb

@ -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": {

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

Loading…
Cancel
Save