Update index.js

Fixes the bot immediately crashing on non playtime based badges such as the "Pillar of Community" badge.
Merge pull request #5 from tomatolicious/master

Update index.js