It will no longer crash the bot if it tries to DM a user with DMs off. Instead, it will post the message in the channel, pinging the user, and delete that message after 5 seconds.
Staff members (including: dev, mod, helper, half-helper, tfm staff) are exempt from having their messages deleted, so they don't confuse new members by having their helpful messages disappear while they're trying to explain or acknowledge a concept.
The bot checks if the string being filtered was a valid HTTP url, and if it is, allows it through - this should stop embeds/links being filtered incorrectly.
Check if the content has no length - this would imply the upload is a file/image, and not filter it.
Provides improvement to the one-word spam filter.
Changes:
Also added more comments :)