Skip to content

Instantly share code, notes, and snippets.

View terryjbates's full-sized avatar

Terry Bates terryjbates

View GitHub Profile
@nicolasdao
nicolasdao / open_source_licenses.md
Last active September 21, 2024 17:31
What you need to know to choose an open source license.
from __future__ import unicode_literals
from client import slack_client as sc
outputs=[]
def process_message(data):
'''If a user passes 'print users' in a message, print the users in the slack
team to the console. (Don't run this in production probably)'''
if 'print users' in data['text']:
for user in sc.api_call("users.list")["members"]: