bot/base: clean up a bit
scripts/commandtest: Add proper luadoc