From 940d888b46dd0a9f56adff748b864ffda7b84f01 Mon Sep 17 00:00:00 2001 From: Alex Huddleston Date: Fri, 28 Jun 2019 01:02:08 +0000 Subject: [PATCH] Added README --- README.md | 12 ++++++++++++ slack-bot-testing.py | 3 +-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2396c99 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# UP Hype Bot +A Slack bot written in Python to gets HYPED on that Unified Platform + +## CF Functionality +Simply make any post in the chat that contains a C-word followed immediately with an F-word and the bot will quickly and efficiently remind you of what CF stands for. +This functionality ignores cases and can optionally be triggered with "CF" + +## Future Work + +### UP! Emoji Injection + +### CF Quote Repeater diff --git a/slack-bot-testing.py b/slack-bot-testing.py index 63af6dc..1a922c9 100644 --- a/slack-bot-testing.py +++ b/slack-bot-testing.py @@ -28,8 +28,7 @@ def say_hello(**payload): ) except Exception as e: - print(e) - output += '{}\tThat weird error happened again let\'s fix that.\n'.format(datetime.now()) + output += '{0}\tAn error occurred: {1}\n'.format(datetime.now(), e) log_output(output) slack_token = os.environ["SLACK_API_TOKEN"]