The Bot() class defines a dictionary named 'availableOptions', which is supposedly customizable by subclassing Bot(), but the Bot.getOption() and Bot.setOptions() methods use the "unbounded" Bot.availableOptions call.
The attached (very small) patch modifies this by replacing Bot.availableOptions with self.availableOptions, so that subclasses can use a custom dict.
Proposed patch
Applied in r8189; thanks for the aptch.