Open your bot code in Replit.com and click
Run/Play
button, to see the error in console.
Reload your page, and try again.
If console prints sh main.sh
and nothing else, then ignore the error. The error will be fixed automatically after few hours. If not, then do the following:
Make sure Secrets in Environment Variables are correct! The Key CHANNEL
must be Uppercase. Ex. CHANNEL
. If that doesn't work, clear your index.js file and paste this code. Also, clear your package.json file and paste this code. Press Run again.
Make sure the Bot Token provided in Environment Variables is correct. Read this again.
Make sure you provided Channel ID(s) in Environment Variables. Read this again.
Reboot your bot. Ping your bot in Discord to know the command.
Keep in mind, the bot doesn't ping offline members. If a member with tag is online and still not getting pinged, make sure you have enabled intents. After enabling, wait 1 hour for it to work.
Read/Watch this Carefully.
Join my server and wait 30 minutes. And then create a support ticket here.