I've been using this snippet for a while when suddenly someone asked me to modify it so that only specified channels will be protected under this snippet. So I simply made a dialog where you can enter your channels which you want to protect it. It's a swearing protection for channels. It's kind of messy by the way but its still good enough for me. As you can see there are snippet for text swearing..
Here are some !bot command that I use in my bot. It's kinda useful for the bot owner. You just copy it to your bot remotes and you trigger the command by using ! for example : !deop (nick) .. and the Bot will deop the nick you intend to deop. Make sure that your bot is an operator and you must be an operator too. Please leave your comments. Thanks :)