Bug Fixes

1.) Fixed a bug where bot properties weren't accessible.
2.) Altered several calls to mysql_fetch_array where mysql_fetch_assoc
would be more fitting