Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
571 stars 602 forks source link

Bug report #191

Open JavaSyntaxError opened 1 year ago

JavaSyntaxError commented 1 year ago

What's your nodejs Version.

Show the output of: node -v 18

What's the version you downloaded the bot?

From the releases e.g.: 10.2.0 Newest

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22] Linux | Debian

Describe the bug

A clear and concise description of what the bug is. The anti mass caps lock seems to be broken, when ever someone spams something with mass caps lock the message Cannot read properties of null (reading 'has') shows up, and this counts to even edited messages.

To Reproduce

Steps to reproduce the behavior e.g:

  1. Spam something like SDNFJSNDFJNDSJKF with caps lock on
  2. Edit the message with something different but make sure its in caps and its gibberish

Expected behavior

A clear and concise description of what you expected to happen. The bot should muted the user for spamming with caps instead it replies with Cannot read properties of null (reading 'has')

Additional context, text and screenshots!

Add any other context about the problem here.

Screenshot 2023-03-09 at 9 55 27 AM Screenshot 2023-03-09 at 9 55 43 AM