Skip to content

Commit

Permalink
Refactor to remove deprecated reference (#72)
Browse files Browse the repository at this point in the history
Minor intent update

Co-authored-by: Daniel McKnight <daniel@neon.ai>
  • Loading branch information
NeonDaniel and Daniel McKnight committed Dec 19, 2023
1 parent 475973b commit ae67a3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from ovos_utils import classproperty
from ovos_utils.log import LOG
from ovos_utils.process_utils import RuntimeRequirements
from ovos_workshop.decorators import intent_file_handler
from ovos_workshop.decorators import intent_handler


class SupportSkill(NeonSkill):
Expand All @@ -73,7 +73,7 @@ def support_email(self) -> str:
"""
return self.settings.get("support_email") or "support@neon.ai"

@intent_file_handler('contact_support.intent')
@intent_handler('contact_support.intent')
def handle_contact_support(self, message: Message):
"""
Handle a user request to contact support
Expand Down
2 changes: 1 addition & 1 deletion locale/en-us/intent/contact_support.intent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(create|send|generate|i want|i need) (a |)(support|troubleshoot|troubleshooting|problem) (ticket|request|email|report|package)
(create|send|generate|i want|i need) (a |)(support|troubleshoot|troubleshooting|trouble|problem) (ticket|request|email|report|package)
troubleshoot my device
(contact|email) support
report (a|an) (issue|problem|bug)

0 comments on commit ae67a3d

Please sign in to comment.