You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#tips is a list of dictionaries, not a string. if you put a string in parenthesis the random number generator will pick a random letter. random takes anything that is iterable
log = slack.api_call(
"chat.postMessage",
channel = "G9DDB0FNZ",
text = rand_item["message"]
#rand_item is the dictionary, "message" is the key
#before posting, you must go into the slack api settings and ask for permission to post into groups