Skip to content

Commit

Permalink
timing
Browse files Browse the repository at this point in the history
  • Loading branch information
nficano committed Jun 23, 2017
1 parent 24ef4ba commit 2cffeb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gendo/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ def respond(self, user, message, channel):
response = view_func(**kwargs)
if response:
if 'hide_typing' not in options:
time.sleep(1)
time.sleep(.2)
self.client.server.send_to_websocket({
'type': 'typing',
'channel': channel
})
time.sleep(1)
time.sleep(.5)
if '{user.username}' in response:
response = response.replace('{user.username}',
self.get_user_name(user))
Expand Down

0 comments on commit 2cffeb1

Please sign in to comment.