ESlint Error
I am getting an error from ESlint in the following code:
And when I do
channel.toString()
, I get this error from eslint: channel will be evaluated to [object Object] when stringified
How to fix this?3 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!
- ✅
Marked as resolved by staffESling config:
ignore it
toString() returns a string in the mention format
not an object
@sicklinebro