forked from HonusBot/HonusBot
w?
This commit is contained in:
parent
c9aa5935c0
commit
70e418eec2
@ -153,7 +153,7 @@ class InlineBot:
|
||||
if not command:
|
||||
return self.errorText
|
||||
|
||||
r = requests.post(self.config.getApiUrl(), headers = { "Content-Type" : "application/json", "User-Agent" : self.config.getUserAgent() }, data = json.JSONEncoder().encode(JSONRequest(self.config, command, senderid, text).__dict__))
|
||||
r = requests.post(self.config.getApiUrl(), headers = { "Content-Type" : "application/json", "User-Agent" : self.config.getUserAgent() }, data = json.JSONEncoder().encode(JSONRequest(self.config, command.getCommand(), senderid, text).__dict__))
|
||||
|
||||
#if not r:
|
||||
return self.errorText
|
||||
|
Loading…
Reference in New Issue
Block a user