Now that you have created hero file with hero function inside it, let me tell you the main goal of all this:
- Its for you to understand how arguments work.
- Its for you to understand how to make the help command you were talking about.
- Its for you to understand how importing and exporting in JS work and the meaning of it.
What we are trying to achieve here is:
- Set an argument to trigger your
hero
function/file (I believe you know the meaning of argument by now). - Use the
hero
function/file to send a message in discord.