Change bot to use srfi-9 `define-record-type'
Export `get-commands' to work around define-inlinable issue in records