Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewScholefield committed Dec 12, 2017
0 parents commit 9d2d3da
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
settings.json

8 changes: 8 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Copyright 2017 Mycroft AI

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Support #
Creates support tickets and troubleshoots issues

## Description ##
This skill will ask the user for a description of any problem they face and send an email containing system info which can be forwarded to our support email. It can also just send debug info.

## Examples ##
* "Create a support ticket."
* "You're not working."
* "Send me debug info."

## Credits ##
Mycroft AI

16 changes: 16 additions & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from adapt.intent import IntentBuilder
from mycroft import MycroftSkill, intent_handler


class SupportSkill(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)

@intent_handler(IntentBuilder().require('Support'))
def handle_support(self, message):
self.speak_dialog('support')


def create_skill():
return SupportSkill()

1 change: 1 addition & 0 deletions dialog/en-us/support.dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
support
1 change: 1 addition & 0 deletions vocab/en-us/Support.voc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
support

0 comments on commit 9d2d3da

Please sign in to comment.