aternosorg / modbot

An open source moderation bot with advanced features developed by Aternos.
MIT License
127 stars 61 forks source link

SendUsage if no args specified with set #455

Closed MiataBoy closed 2 years ago

MiataBoy commented 2 years ago

This should stop it from setting the spamprotection to NaN messages per minute, as it currently does

JulianVennen commented 2 years ago

The args property doesn't exist for subcommands and shouldn't be used anymore. You should probably add a check for !count to line 36. I also noticed that a return statement is missing in that.