discordjs-bot-guide
discordjs-bot-guide copied to clipboard
The basic new coder friendly "idiot's guide", Created by Hindsight#2020 and maintained by the community.
Sending error to channel results in a ReferenceError because cleaned is not defined in the catch block's scope. Replaced with sending the error's stack to resolve this.
Help
It keeps saying invalid token while i checked the token and i'm sure it's valid my index.js looks like this. const { Client, Intents } = require("discord.js"); const client =...
I've had an intermittent issue with this code, and I think I finally figured out what's wrong. The wrong members were being credited with the invite. It would credit the...
Upgrade Retype to the latest release, currently [`v2.2.0`](https://retype.com/roadmap/#v2-2-0).
### **Howdy hey 👋** About this PR ========= This PR was made for the simple fact that I felt the READMEs needed some content and the primary README needed a...
client.commands = new Discord.Collection();
In the error message of the eval command, the content used a `cleaned` variable that only exists on the `try` block, not on the `catch` block, the `err` variable should've...