jeelzzz - is there any way to export multiple thi...

is there any way to export multiple things from a command / listener's file? like can i name the export something like command and it'll let me export other stuff without breaking
J
jeelzzz527d ago
looks like it should be supported? when i add a function as an export though it throws TypeError: piece.aliases is not iterable
F
Favna527d ago
If i remember correctly if you keep commands in the commands folder and listeners in the listeners folder it's fine. The error you get is by trying to mix listeners (who don't have aliases) in commands (who do) and so piece.aliases is not iterable for listeners.