需要Slack的Python脚本来停用用户

时间:2018-06-19 09:15:22

标签: python slack

import os

from slackclient import slackclient 

SLACK_TOKEN = os.eviron.get ('SLACK_TOKEN')

slack_client = SlackClient (SLACK_TOKEN)

username=raw_input("Please Type the user you would like to deactivate: ")
print "User: "

users.admin.setInactive <--- Not sure how to implement this

0 个答案:

没有答案
相关问题