#Undefined when I try to pass objects to another file.

3 messages · Page 1 of 1 (latest)

dawn orchid
#

I am trying to figure out how to do embed pagination for my Discord bot and I getting stuck on this. gimme a min to explain everything.

#

I have a custom command handler, that splits the slash commands, select menus, buttons, etc. into different category, and what I am trying to do is, exports some variables and arrays using exports.<variable> = <variable> but nothing is working. Screenshot 1 is the command file. and for testing purposed I made so that when the next button is pressed it sends the values from the command file.

lusty rivetBOT
#

To share long code snippets use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks.