Discord js delete if message has many uppercase letter

I want if message has many uppercase capital letters , bot detected this and delete.

Here my code:

if (msg.content.length >= 10 && msg.content.toUpperCase()) {
        msg.delete();
    }

But this code, delete if message has 11 words. Please help me. Thank in advance

137 thoughts on “Discord js delete if message has many uppercase letter”

  1. Pingback: viagra price
  2. Pingback: free viagra
  3. Pingback: sildenafil 50 mg
  4. Pingback: viagrarover
  5. Pingback: viagra pill
  6. Pingback: cost of viagra
  7. Pingback: buy cialis
  8. Pingback: viagra connect
  9. Pingback: viagra naturel
  10. Pingback: viagra boys
  11. Pingback: viagra foods
  12. Pingback: viagra and cialis
  13. Pingback: viagra online
  14. Pingback: sildenafil price
  15. Pingback: cialis drug