Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejgray committed Jun 7, 2024
1 parent 095637b commit 85c7171
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
7 changes: 2 additions & 5 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,9 @@
import datetime
from datetime import timedelta
from enum import Enum
from os.path import expanduser
from random import randint
from typing import List, Optional

from adapt.intent import IntentBuilder
from neon_utils.configuration_utils import NGIConfig
from neon_utils.message_utils import dig_for_message
from neon_utils.skills.neon_skill import NeonSkill
Expand All @@ -43,6 +41,7 @@
from ovos_utils.log import LOG
from ovos_utils.process_utils import RuntimeRequirements
from ovos_workshop.decorators import intent_handler
from ovos_workshop.intents import IntentBuilder


class SystemCommand(Enum):
Expand All @@ -52,10 +51,8 @@ class SystemCommand(Enum):


class DeviceControlCenterSkill(NeonSkill):
user_config_path = expanduser("~/.config/neon/neon.yaml")

def initialize(self):
self.bus.on("mycroft.ready", self._speak_restart_dialog)
self.add_event("mycroft.ready", self._speak_restart_dialog, speak_errors=False)
if self.dialog_to_speak and self.pending_audio_restart:
self._speak_restart_dialog(Message("neon.audio.restarted"))

Expand Down
2 changes: 1 addition & 1 deletion locale/en-us/dialog/ask_enable.dialog
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Just to confirm, you want me to change who I am? I will answer to {ww} and have {descriptor}
Just to confirm, you want me to change who I am? I will answer to {ww} and have {descriptor}.
2 changes: 1 addition & 1 deletion locale/en-us/dialog/neon_confirmation.dialog
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Hello! I am Neon dot A.I., ready to assist.
Hello! I am Neon A.I., ready to assist.
I'm back to my old self again! This is Neon.
2 changes: 1 addition & 1 deletion locale/en-us/intent/classic_mycroft.intent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Become (classic |)(Minecraft|Mycroft|Mike Roft)
become (classic |)(minecraft|mycroft|mike roft)
2 changes: 2 additions & 0 deletions locale/uk-ua/dialog/neon_confirmation.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Привіт! Я Neon A.I., готовий допомогти.
Я знову повернувся до старого! Це Неон.
4 changes: 2 additions & 2 deletions test/test_intents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ en-us:
- become classic mycroft
- become minecraft
- become classic minecraft
- become mike croft
- become classic mike croft
- become mike roft
- become classic mike roft

uk-ua:
ExitShutdownIntent:
Expand Down

0 comments on commit 85c7171

Please sign in to comment.