title: TypeError: message.client.commands.array is not a function
body: <p>I wanted to update my help command from djs v12.5.3 to v13 but I got this error: <code>TypeError: message.client.commands.array is not a function</code></p>
  <p>Here is my code I used before:</p>
  <pre class="lang-js prettyprint-override"><code>let commands = message.client.commands.array();
  commands.forEach((cmd) =&gt; {
      if(cmd.name == args[0].toLowerCase() || cmd.aliases.includes(args[0].toLowerCase())) {
                      embed.addField(&quot;**Description**&quot;, `${cmd.description}`, false)
                      embed.addField(&quot;**Usage**&quot;, `${cmd.usage}`, true)
                      embed.addField(&quot;**Aliases**&quot;, `${cmd.alias}`, true)
                      embed.addField(&quot;**Examples**&quot;, `${cmd.examples}`, true)
                      message.channel.send({ embeds: [embed] });
      }
  })
  </code></pre>
  <p>I tried changing <code>let commands = message.client.commands.array();</code> to <code>let commands = message.client.commands.values();</code> but got another error: <code>TypeError: commands.forEach is not a function</code>!
  How can I list my commands again on v13?</p>