$bots->getRouteKey(), 'key' => [ 'public' => $bots->getPublicKey(), 'route' => $bots->getRouteKey(), ], 'bot_name' => $bots->bot_name, 'bot_inputs' => $bots->bot_inputs, 'bot_code' => $bots->bot_code, 'bot_instructions' => $bots->bot_instructions, 'url' => [ 'public' => trans_url('bot/'.$bots->getPublicKey()), 'user' => guard_url('bot/bots/'.$bots->getRouteKey()), ], 'status' => trans('app.'.$bots->status), 'created_at' => format_date($bots->created_at), 'updated_at' => format_date($bots->updated_at), ]; } }