Update AfdBot

Minor bug fixes.