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

190
Views
jQuery.get() no es una función

Cuando intento ejecutar este código, aparece el error jQuery.get is not a function . De acuerdo con la documentación, debería funcionar, pero no parece funcionar aquí.

 // Run dotenv const jQuery = require('jquery'); require('dotenv').config(); const Discord = require('discord.js'); const client = new Discord.Client({ intents: [Discord.Intents.FLAGS.GUILDS, Discord.Intents.FLAGS.GUILD_MESSAGES] }); client.on('ready', () => { console.log(`Started bot as ${client.user.tag}.`); }); client.on('messageCreate', msg => { if (msg.content.charAt(0) === '?') { if (msg.content === '?g') { let d = new Date(); let months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] msg.reply("On " + d.getDate() + " " + months[d.getMonth()] + "" + Date.now()); jQuery.get("https://example.com/"); } else { const reply = "Debug"; msg.reply(reply); console.log("Recieved: " + msg.content + "\nReply: " + reply); } } }); client.login(process.env.DISCORD_TOKEN);
about 4 years ago · Juan Pablo Isaza
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!