From e9959175e78c2a549e5045eea9b3e3bee19d2d88 Mon Sep 17 00:00:00 2001 From: AshTemp Date: Tue, 2 Oct 2018 15:49:52 -0400 Subject: [PATCH 1/3] adds first PR link --- pybot/endpoints/slack/utils/slash_repeat.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pybot/endpoints/slack/utils/slash_repeat.py b/pybot/endpoints/slack/utils/slash_repeat.py index e8b6548..7dc12d4 100644 --- a/pybot/endpoints/slack/utils/slash_repeat.py +++ b/pybot/endpoints/slack/utils/slash_repeat.py @@ -54,6 +54,9 @@ def repeat_items(requested_text: str, slack_id: str, channel_id: str) -> dict: 'merge': {'link': 'http://large-type.com/#WILL', 'title': 'Who is that force merging to master?', 'pretext': 'git push -f origin master'}, + 'firstpr': {'link': 'https://goo.gl/forms/r02wt0pBNhkxYciI3', + 'title': 'Get your sticker here!', + 'pretext': ':firstpr:' } # TODO: make this into a url call. 'resources': find_resources(), 'resource': find_resources(), From 3834ef34ae20bd57748bc33ef7514c0531c20639 Mon Sep 17 00:00:00 2001 From: AshTemp Date: Tue, 2 Oct 2018 15:58:12 -0400 Subject: [PATCH 2/3] fixes spacing error --- pybot/endpoints/slack/utils/slash_repeat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybot/endpoints/slack/utils/slash_repeat.py b/pybot/endpoints/slack/utils/slash_repeat.py index 7dc12d4..caf5296 100644 --- a/pybot/endpoints/slack/utils/slash_repeat.py +++ b/pybot/endpoints/slack/utils/slash_repeat.py @@ -55,8 +55,8 @@ def repeat_items(requested_text: str, slack_id: str, channel_id: str) -> dict: 'title': 'Who is that force merging to master?', 'pretext': 'git push -f origin master'}, 'firstpr': {'link': 'https://goo.gl/forms/r02wt0pBNhkxYciI3', - 'title': 'Get your sticker here!', - 'pretext': ':firstpr:' } + 'title': 'Get your sticker here!', + 'pretext': ':firstpr:' } # TODO: make this into a url call. 'resources': find_resources(), 'resource': find_resources(), From 64464a718e7f75de71925616bab44b76e4ecaa6b Mon Sep 17 00:00:00 2001 From: AshTemp Date: Tue, 2 Oct 2018 15:59:39 -0400 Subject: [PATCH 3/3] fixes ash being dumb --- pybot/endpoints/slack/utils/slash_repeat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybot/endpoints/slack/utils/slash_repeat.py b/pybot/endpoints/slack/utils/slash_repeat.py index caf5296..407deec 100644 --- a/pybot/endpoints/slack/utils/slash_repeat.py +++ b/pybot/endpoints/slack/utils/slash_repeat.py @@ -56,7 +56,7 @@ def repeat_items(requested_text: str, slack_id: str, channel_id: str) -> dict: 'pretext': 'git push -f origin master'}, 'firstpr': {'link': 'https://goo.gl/forms/r02wt0pBNhkxYciI3', 'title': 'Get your sticker here!', - 'pretext': ':firstpr:' } + 'pretext': ':firstpr:' }, # TODO: make this into a url call. 'resources': find_resources(), 'resource': find_resources(),