Fixed call of the void api token read.
Updated WaitonUtil sheet id, will probably need to change again as year goes on.
This commit is contained in:
parent
c421a36a17
commit
3004d38522
|
|
@ -3,9 +3,9 @@ from slackclient import SlackClient
|
|||
|
||||
#One last call from beyond the grave
|
||||
apifile = open("apitoken.txt", 'r')
|
||||
SLACK_API = next(apifile)
|
||||
SLACK_API = next(apifile).strip()
|
||||
apifile.close();
|
||||
|
||||
slack = SlackClient(SLACK_API)
|
||||
slack.api_call("chat.postMessage", channel="@jacobhenry", text="Alas poor yorrick. I died!")
|
||||
slack.api_call("chat.postMessage", channel="@jacobhenry", text="one error. and im die?")
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ Only really kept separate for neatness sake.
|
|||
"""
|
||||
|
||||
#ID of waiton sheet on drive
|
||||
WAITON_SHEET_ID = "1J3WDe-OI7YjtDv6mMlM1PN3UlfZo8_y9GBVNBEPwOhE"
|
||||
#WAITON_SHEET_ID = "1J3WDe-OI7YjtDv6mMlM1PN3UlfZo8_y9GBVNBEPwOhE" #A term 2016
|
||||
WAITON_SHEET_ID = "1I4keh9cIt0x-WwZAdnBsZefSZV-tMIAy37r2NLUOLh4" #First week b term
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue