title: Discord.js: message.guild.channels.cache.filter
body: <p>Im trying to make a mute command for my discord bot but im having trouble filtering the channels to set send messages and add reactions to false, the role is being created but the channels aren't being filtered.
  code:</p>
  <pre><code>let muterole = message.guild.roles.create({
                  name: 'muted',
                  color: 'BLUE',
                  reason: 'For Muted People',
                })
              message.guild.channels.cache.filter(m =&gt; m.type === 'text').forEach(async (channel, id) =&gt; {
                  await channel.createOverwrite(muterole, {
                      SEND_MESSAGES: false,
                      ADD_REACTIONS: false
                  })
              });
  </code></pre>