Merge pull request #8 from ymendel/dynamic_name
Adds a better banning system
Fixes issue #9
Fixing some markdown errors
Adding command to automatically create users database
Changing file name to render markdown
Changing README to work with Markdown
Changing "include" to "contains" as per suggestion from iamnirav.
Merge pull request #6 from ymendel/cleanup
Getting the bot name on start.
Simply calling userInfo when the bot starts up and storing that in the
Moving bot name to a variable.
Now the behavior and output are the same as before, but everything
depends on the bot.name property, nothing in bot.on('speak') is
Renaming array-inclusion check
Maybe this will get Nirav to shut up.
Cleaning up array-inclusion check.
Adding an 'include' method for arrays, replacing all uses of indexOf
checks. Also using that to make some command aliases a little nicer.
Cleaning up command-checking.
Don't need to keep repeating the bot name everywhere. Just check if the
text starts with the bot name, then strip it off and check the command.
Giving a reason for booting banned user.
Cleaning up text matching.
Putting all the lowercasing in one place.
Cleaning up DJ-check.
Good ol' array.indexOf
Extracting DJ-check code.
It looks and feels better to have this behavior nicely encapsulated.
I don't know if that will cause some sort of problem with the
formerly-nested callbacks. It shouldn't.
Don't want anything bugging me about it. Don't want to check it in by
Updated ReadMe with install instructions
Added shake that thing command, and fixed bug
removed extra output
Fixed bug due to false being illegal value in sqlite
added example keys file