HomePhabricator

[IMPR] Improvements for OptionHandler

Authored by Xqt on Aug 7 2020, 7:45 AM.

Description

[IMPR] Improvements for OptionHandler

  • get Bot options by Bot.opt.option attribute or Bot.opt[option] as well
  • deprecate availableOptions in favour of available_options due to naming convention
  • deprecate setOptions in favour of set_options due to naming convention
  • deprecate getOption in favour of the new implementation
  • deprecate options attibute
  • Update specialbots and basic.py as first step

Change-Id: I94e3fcb299e779aab7834b8feb042dfc4d6a0b9e

Details

Committed
XqtOct 6 2020, 6:52 AM
Parents
rPWBCf1792a90c103: Merge "[4.0] Simplify LoggingFormatter"
Branches
Unknown
Tags
Unknown
ChangeId
I94e3fcb299e779aab7834b8feb042dfc4d6a0b9e