Exemple #1
0
def webind(message):
    h = Handle(message.source)
    return h.bind(message.content)
Exemple #2
0
def voice_consult(message):
    if message.recognition == u"查询":
        h = Handle(message.source)
        return h.consult()
    return "What are you talking about?"
Exemple #3
0
def word_consult(message):
    h = Handle(message.source)
    return h.consult()
Exemple #4
0
def voice_consult(message):
    if message.recognition == u"查询":
        h = Handle(message.source) 
        return h.consult()
    return "What are you talking about?"
Exemple #5
0
def webind(message):
    h = Handle(message.source)
    return h.bind(message.content)
Exemple #6
0
def word_consult(message):
    h = Handle(message.source)
    return h.consult()
Exemple #7
0
#coding:utf-8

from zccx.handle import Handle

s = Handle('o_HVEuK5VYfCGNJGc6MrwY2rFF5I')
print(s.bind(u"绑定 韩龙 B1304013!"))
print(s.bind(u"绑定 韩龙! B13040133"))
print(s.bind(u"绑定 韩龙 B13040133"))
print(s.consult())