ESLint (VSCodium) error after using `npm create discord-bot`
Hello, I created a bot using
npm create discord-bot
and am using the ESLint VSCodium extension. however I am running into an issue in ping.ts
, where I am getting an ESLint error:
Any help would be appreciated.2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Post the full error stack trace, not just the top part!
- Show your code!
My code is unchanged from what is found in https://github.com/discordjs/discord.js/blob/main/packages/create-discord-bot/template/TypeScript/src/commands/ping.ts