Created
July 11, 2018 10:06
-
-
Save jattoabdul/78e82f5db3ddadd6d36f84bcfd438d37 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def __perform_send_action(self, task_cells): | |
recipient = self.user_info['user']['id'] | |
for index, row in enumerate(task_cells): | |
text_detail = ( | |
'*Task #{} for {}:* \n\n' | |
'*Hey {},* Today is the check-in day for your writeup titled\n' | |
'`{}`.\n\n' | |
'Whats the status of the article?\n' | |
'PS: Please reply to this thread, the managers will review and reply you ASAP').format( | |
str(index + 1), row['Next Check-In'], row['Name'], | |
row['Most Recent Learning Experience you\'d like to write about']) | |
self.slackhelper.post_message(text_detail, recipient) | |
return None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment