Ask coding questions

← Back to all posts
there is an error
mokagamer6

i have an error that it says some thing the set 'set'

Answered by Geocube101 [earned 5 cycles]
View Answer
Voters
mokagamer6
Comments
hotnewtop
Geocube101

I have no idea how to use the discord bot api with nodejs
However judging from the TypeError, you are attempting to get an attribute of an undefined value "bot.command". Looking at the rest of your code, maybe it's supposed to be "bot.commands".

mokagamer6

@Geocube101 Thank you its working now

mokagamer6

help pls