• Jobs
  • About Us
  • professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
  • business
    • Home
    • Post vacancy
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

242
Views
ReferenceError: websiteCheck no está definido discord.js

Así que básicamente estaba codificando un bot discord.js v12 y NodeJS sigue dándome este error a pesar de que está definido websiteCheck. Si me pueden ayudar muchas gracias <3

 function websiteCheck() { // im not showing code because it will advertise a website. }; const scheduledCheck = schedule.scheduleJob('*/1 * * * *', function(){ console.log('Checking Status of site'); websiteCheck() });
almost 3 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Básicamente function no se leía de alguna manera en el script, comenzó a funcionar con const websiteCheck = async function(){ . Ahora está definido y todo es normal.

No sé por qué no se leía la function , pero bueno.

almost 3 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2025 PeakU Inc. All Rights Reserved.

Andres GPT

Recommend me some offers
I have an error