blab_chatbot_deepage.__main__#

A module that is called from the command-line.

Module Contents#

Classes#

DeepageBotClientArgParser

A BlabBotClientArgParser subclass that includes the extra command index.

class DeepageBotClientArgParser(client)#

Bases: blab_chatbot_bot_client.cli.BlabBotClientArgParser

A BlabBotClientArgParser subclass that includes the extra command index.

Create an instance of the argument parser using the specified bot type.

Parameters:

client (type[DeepageBot]) – DeepageBot or a subclass

_client: type[DeepageBot]#
run(arguments, settings)#

Execute the specified action.

Parameters:
  • arguments (argparse.Namespace) – the parsed command-line arguments

  • settings (blab_chatbot_bot_client.settings_format.BlabBotClientSettings) – the loaded configuration

Return type:

bool