notes: confirm note has been taken
This commit is contained in:
parent
c2287f3cee
commit
e51ca46bdb
|
@ -41,6 +41,7 @@
|
||||||
"notes": {
|
"notes": {
|
||||||
"commands": ["note down"],
|
"commands": ["note down"],
|
||||||
"content_regex": "for (?P<target>\\S+) (?P<note>.+)",
|
"content_regex": "for (?P<target>\\S+) (?P<note>.+)",
|
||||||
|
"confirmation": "Ok.",
|
||||||
"deliver_format": "{dest}, {sender} tells you: {message}"
|
"deliver_format": "{dest}, {sender} tells you: {message}"
|
||||||
},
|
},
|
||||||
"random": {
|
"random": {
|
||||||
|
|
|
@ -55,3 +55,4 @@ class NotesPlugin(Plugin):
|
||||||
"message": message
|
"message": message
|
||||||
}
|
}
|
||||||
self.append_storage_list_value("notes", note)
|
self.append_storage_list_value("notes", note)
|
||||||
|
self.bot.say(event.target, self.config["confirmation"])
|
||||||
|
|
Loading…
Reference in a new issue