diff --git a/client/plugins/Camera.py b/client/plugins/Camera.py index 1cf0ec5..01ac821 100644 --- a/client/plugins/Camera.py +++ b/client/plugins/Camera.py @@ -15,9 +15,9 @@ def handle(text, mic, profile, wxbot=None): Arguments: text -- user-input, typically transcribed speech mic -- used to interact with the user (for both input and output) - wxBot -- wechat robot profile -- contains information related to the user (e.g., phone number) + wxbot -- wechat bot instance """ sys.path.append(mic.dingdangpath.LIB_PATH) from app_utils import sendToUser diff --git a/client/plugins/Echo.py b/client/plugins/Echo.py index 57be22d..2b3159a 100644 --- a/client/plugins/Echo.py +++ b/client/plugins/Echo.py @@ -10,9 +10,9 @@ def handle(text, mic, profile, wxbot=None): Arguments: text -- user-input, typically transcribed speech mic -- used to interact with the user (for both input and output) - wxBot -- wechat robot profile -- contains information related to the user (e.g., phone number) + wxBot -- wechat robot """ text = text.lower().replace('echo', '').replace(u'传话', '') mic.say(text) diff --git a/client/plugins/Email.py b/client/plugins/Email.py index 1c14f1a..79338f2 100644 --- a/client/plugins/Email.py +++ b/client/plugins/Email.py @@ -132,6 +132,7 @@ def handle(text, mic, profile, wxbot=None): mic -- used to interact with the user (for both input and output) profile -- contains information related to the user (e.g., email address) + wxBot -- wechat robot """ try: msgs = fetchUnreadEmails(profile, limit=5) diff --git a/client/plugins/Time.py b/client/plugins/Time.py index 4f02350..58758c7 100644 --- a/client/plugins/Time.py +++ b/client/plugins/Time.py @@ -16,6 +16,7 @@ def handle(text, mic, profile, wxbot=None): mic -- used to interact with the user (for both input and output) profile -- contains information related to the user (e.g., phone number) + wxBot -- wechat robot """ tz = getTimezone(profile) diff --git a/client/plugins/Unclear.py b/client/plugins/Unclear.py index b66d90d..b7a7ff0 100644 --- a/client/plugins/Unclear.py +++ b/client/plugins/Unclear.py @@ -24,6 +24,7 @@ def handle(text, mic, profile, wxbot=None): mic -- used to interact with the user (for both input and output) profile -- contains information related to the user (e.g., phone number) + wxBot -- wechat robot """ if need_robot(profile): robot = get_robot_by_slug("tuling")