import slackclient
import time
import os


import slackclient
import time
import os

slackClient = slackClient.SLackClient(os.environ["SLACK_TOKEN"])
slackClient.rtm_connect()

while True:
    print(slackClient.rtm_read())
    time.sleep(5)

Add test of slack rtm read
Add test of slack rtm read

  import slackclient
  import time
  import os
  
+ slackClient = slackClient.SLackClient(os.environ["SLACK_TOKEN"])
+ slackClient.rtm_connect()
  
+ while True:
+     print(slackClient.rtm_read())
+     time.sleep(5)
+ 
Add test of slack rtm read
## Code Before:
import slackclient
import time
import os


## Instruction:
Add test of slack rtm read
## Code After:
import slackclient
import time
import os

slackClient = slackClient.SLackClient(os.environ["SLACK_TOKEN"])
slackClient.rtm_connect()

while True:
    print(slackClient.rtm_read())
    time.sleep(5)
