Fixed bot crashing on group invites.