Eichhoernchen/SiriServer — Issue #197: question to......
Author: MrPabis
Created: 2012-02-10 18:10:39+00:00
State: open

i've a question to this:
class smalltalk(Plugin):

@register("de-DE", "(.*Hallo.*)|(.*Hi.*Siri.*)")
@register("en-US", "(.*Hello.*)|(.*Hi.*Siri.*)")
def st_hello(self, speech, language):
if language == 'de-DE':
self.say("Hallo, user")
else:
self.say("Hello")
self.complete_request()

how can i do this that siri says the user? example: Hello, Patric! (Hello, User!)