Lower sleep interval for faster replies.
This commit is contained in:
parent
93137f94cc
commit
82106deeaa
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class RtmBot(object):
|
|||
channel = self.slack_client.server.channels.find(output[0])
|
||||
if channel != None and output[1] != None:
|
||||
if limiter == True:
|
||||
time.sleep(1)
|
||||
time.sleep(.1)
|
||||
limiter = False
|
||||
message = output[1].encode('ascii','ignore')
|
||||
channel.send_message("{}".format(message))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue