<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
Was this page helpful?