Changeset 2095


Ignore:
Timestamp:
06/01/18 11:27:37 (5 months ago)
Author:
csnyder
Message:

Image color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • heybacon/global.php

    r2094 r2095  
    252252              $obj = $images->random(); 
    253253              // post a message 
    254               $params = array( 'channel'=>addslashes($data['event']['channel']), 'attachments'=>array( array( 'pretext'=>$obj->title, 'image_url'=>$obj->nativeUrl ) ) ); 
     254              $params = array( 'channel'=>addslashes($data['event']['channel']), 'attachments'=>array( array( 'pretext'=>$obj->title, 'color'=>'#f8941d', 'image_url'=>$obj->nativeUrl ) ) ); 
    255255            } 
    256256            else { 
Note: See TracChangeset for help on using the changeset viewer.