Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pb_py/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ def talk(self, input, usebotkey=False):
return self.no_botname_error
if not 'message' in input:
return self.no_message_error
path = '/atalk'
path = '/talk'
if (not usebotkey):
path += '/' + self.app_id + '/' + self.botname
url = "https://" + self.host + path
query = {"user_key": self.user_key}
query = {"user_key": self.user_key, "input": input['message']}
if usebotkey:
query['botkey'] = self.botkey
else:
Expand Down