`msg.random` seems to be how other hubot scripts select one random element from an array. I didn't find documentation on this.

On Tue, Jul 23, 2013 at 12:50 PM, Brandon Hilkert
<notifications@github.com> wrote:

>> @@ -52,3 +52,8 @@ module.exports = (robot) ->
>>            .get() (err, res, body) ->
>>              ms.send "Resolved FB ticket ##{fb_ticket}"
>>  
>> +    # Comment some approval on the PR
>> +    github_url = "https://api.github.com/repos/PipelineDeals/pipeline_deals/issues/#{number}/comments?access_token=#{github_access_token}"
>> +    emojis = ["+1", "smile", "relieved", "sparkles", "star2", "heart", "notes", "ok_hand", "clap", "raised_hands", "dancer", "kiss", "100", "ship", "shipit", "beer", "high_heel", "moneybag", "zap", "sunny", "dolphin"]
>> +    payload = JSON.stringify({body: ":#{msg.random emojis}:"})
> What does `msg.random` do?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/brandonhilkert/pipeline_hubot/pull/1/files#r5349969