From a5e256677a0229c0f175f8251c25d36b44a9607b Mon Sep 17 00:00:00 2001 From: yamanq Date: Mon, 23 Oct 2017 22:32:04 -0400 Subject: [PATCH 1/3] Create README.md --- breakbot/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 breakbot/README.md diff --git a/breakbot/README.md b/breakbot/README.md new file mode 100644 index 0000000..30701f7 --- /dev/null +++ b/breakbot/README.md @@ -0,0 +1,3 @@ +# breakbot +Simple countdown bot for slack. +This bot counts down to a custom date daily. Additionally, there are custom commands to ask for other options. From 9c32fb1682e5cb7648038ebfc83571809a18ef47 Mon Sep 17 00:00:00 2001 From: yamanq Date: Mon, 23 Oct 2017 22:32:20 -0400 Subject: [PATCH 2/3] Update slackid.py --- breakbot/slackid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breakbot/slackid.py b/breakbot/slackid.py index 8ecbbd7..82918e1 100644 --- a/breakbot/slackid.py +++ b/breakbot/slackid.py @@ -16,4 +16,4 @@ if __name__ == "__main__": if 'name' in user and user.get('name') == BOT_NAME: print("Bot ID for '" + user['name'] + "' is " + user.get('id')) else: - print("could not find bot user with the name " + BOT_NAME) + print("Could not find bot user with the name " + BOT_NAME) From 40c21fd035bb53c9596a2c851302209ebeaf1135 Mon Sep 17 00:00:00 2001 From: yamanq Date: Mon, 23 Oct 2017 22:33:07 -0400 Subject: [PATCH 3/3] Remove unused variable --- breakbot/slackbot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/breakbot/slackbot.py b/breakbot/slackbot.py index 24422df..58cc8e6 100644 --- a/breakbot/slackbot.py +++ b/breakbot/slackbot.py @@ -13,7 +13,6 @@ f.close() # constants AT_BOT = "<@" + BOT_ID + ">" -EXAMPLE_COMMAND = "do" # instantiate Slack & Twilio clients slack_client = SlackClient(sys.argv[2])