Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

221
Views
No se puede ejecutar el comando de barra diagonal de Discord usando Php

Estoy trabajando con php y "Discord", cada vez que escribo un comando manual ("/imagine prompt ANYTEXT") en discord, obtengo una imagen, quiero exactamente el mismo proceso con php, pero cada vez que intento hacer esto, no obtengo ninguna iamge, solo se muestra el comando exacto en el chatbot en lugar de mostrar la imagen, aquí está mi código actual

 $url = "https://discord.com/api/webhooks/MYWEBHOOK"; $hookObject = json_encode([ "embeds" => [ [ "title" => "/imagine prompt nature", ] ] ], JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ); $headers = [ 'Content-Type: application/json; charset=utf-8' ]; $POST = [ 'username' => 'Testing BOT', 'content' => 'Testing message' ]; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, $hookObject); $response = curl_exec($ch);

ingrese la descripción de la imagen aquí

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!