<function> is not a function
Hey, I have a function out of anything, at top of my code named ticket.
It works anywhere else but does not work in a specific line of code.
Idk why, but it declares it a parameter instead of a function!
+ node.js 16
+ discord.js v13.12.0
+ using mongodb
6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unless I am reading it incorrectly, ticket is a string
You are comparing it with
pedbackstory
Perhaps you messed up with the variable namesno
check your dm
I think I fixed it..
When I run it, it's a parameter
But when I stop the bot it's a function :/
the function of forEach is the same name as the TICKET FUNCTION
This is also not a DJS issue
#useful-servers / #resources / <#869652447881207858>