Skip to content
Snippets Groups Projects
Commit 9888fdfb authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
__pycache__/
*.qmlc
settings.json
Copyright (C) 2012 Yoshimasa Niwa
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.
# <img src="https://raw.githack.com/FortAwesome/Font-Awesome/master/svgs/solid/question.svg" card_color="#C6902B" width="50" height="50" style="vertical-align:bottom"/> Wtf
Define acronyms from bsd wtf
## About
## Examples
* "Wtf is {{acronym}}"
* "What the fuck is {{acronym}}"
## Credits
Natureshadow
## Category
**Information**
## Tags
from mycroft import MycroftSkill, intent_file_handler
class Wtf(MycroftSkill):
def __init__(self):
MycroftSkill.__init__(self)
@intent_file_handler('wtf.intent')
def handle_wtf(self, message):
acronym = message.data.get('acronym')
definitions = ''
self.speak_dialog('wtf', data={
'definitions': definitions,
'acronym': acronym
})
def create_skill():
return Wtf()
{{acronym}} means {{definitions}}
Wtf is {{acronym}}
What the fuck is {{acronym}}
# This file details all external dependencies required by your skill. If your skill does
# not require any dependencies, please delete this file before submitting a pull request.
#
# To use this file, uncomment the lines you need, and fill in the appropriate information.
#
# dependencies:
# # Pip dependencies on PyPI
# python:
# - requests
# - gensim
#
# # Install packages with the system package manager
# # This searches for the provided executable and uses the package names
# system:
# # For simple packages, this is all that is necessary
# all: pianobar piano-dev
#
# # If the package has a certain name on a different platform:
# pkcon: pianobar libpiano-dev # For the mycroft platform
# apt-get: pianobar libpiano-dev # For Ubuntu/Debian
#
# # Require certain executables to be in the PATH for the install to succeed
# exes:
# - pianobar
#
# # Require the installation of other skills before installing this skill
# skill:
# - my-other-skill
skillMetadata:
sections:
- name: Options << Name of section
fields:
- name: internal_python_variable_name
type: text
label: Setting Friendly Display Name
value: ""
placeholder: demo prompt in the input box
- name: Login << Name of another section
fields:
- type: label
label: Just a little bit of extra info for the user to understand following settings
- name: username
type: text
label: Username
value: ""
- name: password
type: password
label: Password
value: ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment