slack_text_pass: A function to return bespoke SUCCESS message.

Description Usage Arguments Value

Description

These people completed the puzzle for the day. Let's make them feel good!

Usage

1
slack_text_pass(user_given, time)

Arguments

user_given

A user's first (given) name.

time

Either an integer corresponding to a number of seconds elapsed (e.g., 42 or 142), or a character string in the form:

  • HH:MM:SS (e.g. "01:23:45")

  • MM:SS (e.g. "23:45")

  • SS (e.g. "45")

Any any number of hours, minutes, or seconds are valid (i.e., "0:03", "000:3", "3", and "00:00:03" are all valid ways to input three seconds).

Value

A random bespoke message that (often) includes the user's name.


bochocki/slackrsheets documentation built on May 8, 2019, 9:46 a.m.