Bot
bot
¤
bot
module-attribute
¤
errors
¤
ValidationErrorBase
¤
ValidationErrorBase(
err: ValidationError | PydanticCustomError,
)
SettingValueValidationError
¤
SettingValueValidationError(
err: ValidationError | PydanticCustomError,
)
TPDValidationError
¤
TPDValidationError(
err: ValidationError | PydanticCustomError,
)
CfgAlgValidationError
¤
CfgAlgValidationError(
err: ValidationError | PydanticCustomError,
)
ConstraintValidationError
¤
ConstraintValidationError(
err: ValidationError | PydanticCustomError,
)
PriceValidationError
¤
PriceValidationError(
err: ValidationError | PydanticCustomError,
)
UserBannedError
¤
Bases: BadArgument
OutsideMainServerError
¤
Bases: CheckFailure
plots
¤
utils
¤
HELP_TPD
module-attribute
¤
HELP_TPD = "**Number of departures per day, per aircraft**\n- if not provided or set to `AUTO`, the bot will attempt to maximise it.\n- if you provide a number, the bot will try to assign more aircraft to the same route to avoid wasting demand.\n - to disable the cramming, append a `!` at the end (not recommended)."
HELP_CFG_ALG
module-attribute
¤
HELP_CFG_ALG = f'**Configuration Algorithm**
- {join(f''`'{c}'`'' for c in __members__)} (pax)
- {join(f''`'{c}'`'' for c in __members__)} (cargo)
The best algorithm is picked automatically depending on the route distance.
`YJF` here denotes the order of priority when filling seats.'
HELP_SETTING_KEY
module-attribute
¤
HELP_SETTING_KEY = f'**The setting key** - some important ones are:
- `fourx`: {HELP_U_FOURX}
- `income_loss_tol`: {HELP_U_INCOME_LOSS_TOL}
- `load`: {HELP_U_LOAD}
'