|
|
@ -197,7 +197,7 @@ function MR_layout($messageJSON,$JSON,$lang) {
|
|
|
|
$txt_action_description="*Problem with GitScord, please report.*";
|
|
|
|
$txt_action_description="*Problem with GitScord, please report.*";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$messageJSON['content'] = $txt_ligne_MR[$lang];
|
|
|
|
$messageJSON['content'] = $txt_ligne_MR[$lang];
|
|
|
|
$messageJSON['embeds'] = array(array('title'=> $txt_title_MR[$lang].' *'.$JSON['project']['name'].'*',
|
|
|
|
$messageJSON['embeds'] = array(array('title'=> $txt_action.' *'.$JSON['project']['name'].'*',
|
|
|
|
'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description,
|
|
|
|
'description'=> "**".$JSON['object_attributes']['title']."**\n".$txt_action_description,
|
|
|
|
'url'=> $JSON['object_attributes']['url'],
|
|
|
|
'url'=> $JSON['object_attributes']['url'],
|
|
|
|
'timestamp'=> $JSON['object_attributes']['created_at'],
|
|
|
|
'timestamp'=> $JSON['object_attributes']['created_at'],
|
|
|
|