diff --git a/config.json.example b/config.json.example index 3d6ebd3..546b3c6 100644 --- a/config.json.example +++ b/config.json.example @@ -41,6 +41,7 @@ "notes": { "commands": ["note down"], "content_regex": "for (?P\\S+) (?P.+)", + "confirmation": "Ok.", "deliver_format": "{dest}, {sender} tells you: {message}" }, "random": { diff --git a/edmond/plugins/notes.py b/edmond/plugins/notes.py index df1c0b0..b5f1b02 100644 --- a/edmond/plugins/notes.py +++ b/edmond/plugins/notes.py @@ -55,3 +55,4 @@ class NotesPlugin(Plugin): "message": message } self.append_storage_list_value("notes", note) + self.bot.say(event.target, self.config["confirmation"])