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 breaking2 Replies
looks like it should be supported? when i add a function as an export though it throws
TypeError: piece.aliases is not iterable
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.