1 | initial version |
There are different solutions you can try to address the Modal error message "Something went wrong, please try again" in Discord.js V.14:
yourBot.on('error', (error) => {
console.error('Error:', error);
});
yourBot.on('rateLimit', (rateLimitInfo) => {
console.warn('Rate limit hit:', rateLimitInfo);
});
Check Internet connectivity: The error message can also occur due to poor Internet connectivity. Check your Internet connection and try restarting your bot to see if the issue resolves.
Check Discord server issues: Sometimes, the issue can be with Discord's servers. Check the status of the Discord service to see if there are any ongoing issues. You can find this information on the Discord status page (https://status.discordapp.com/).