From 2b1febf97e863bd750e0ebf238aeb040a831ca7a Mon Sep 17 00:00:00 2001 From: Michael Pozhidaev Date: Fri, 17 Jun 2022 07:54:47 +0700 Subject: [PATCH] Fixes to JS extensions --- js/core-startup.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 js/core-startup.js diff --git a/js/core-startup.js b/js/core-startup.js new file mode 100644 index 0000000..e702679 --- /dev/null +++ b/js/core-startup.js @@ -0,0 +1,19 @@ +/* + Copyright 2019-2022 Michael Pozhidaev + + This file is part of LUWRAIN. + + LUWRAIN is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + LUWRAIN is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. +*/ + +Luwrain.addHook("luwrain.startup", ()=>{ + Luwrain.speak("Привет, поправь меня", Luwrain.constants.SOUND_STARTUP); +});