Overview

Namespaces

  • Budabot
    • Core
      • Modules
    • User
      • Modules
  • None
  • Tyrence
    • Modules

Classes

  • AdminController
  • AliasController
  • AltInfo
  • AltsController
  • BanController
  • BuddylistController
  • ColorsController
  • CommandlistController
  • CommandSearchController
  • ConfigController
  • EventlistController
  • HelpController
  • LogsController
  • PlayerLookupController
  • ProfileCommandReply
  • ProfileController
  • SettingsController
  • SQLController
  • SystemController
  • UsageController
  • WhitelistController

Functions

  • read_input
  • Overview
  • Namespace
  • Class

Class ConfigController

Namespace: Budabot\Core\Modules
Instance
Located at CONFIG/ConfigController.class.php
Methods summary
public
# setup( )

Setup

This handler is called on bot startup.
public
# configCommand( $message, $channel, $sender, $sendto, $args )

This command handler lists list of modules which can be configured. Note: This handler has not been not registered, only activated.

This command handler lists list of modules which can be configured. Note: This handler has not been not registered, only activated.

Matches("/^config$/i")

public
# toggleChannelOfAllModulesCommand( $message, $channel, $sender, $sendto, $args )

This command handler turns a channel of all modules on or off. Note: This handler has not been not registered, only activated.

This command handler turns a channel of all modules on or off. Note: This handler has not been not registered, only activated.

Matches("/^config

cmd (enable|disable) (all|guild|priv|msg)$/i")
public
# toggleChannelCommand( $message, $channel, $sender, $sendto, $args )

This command handler turns a channel of a single command, subcommand, module or event on or off. Note: This handler has not been not registered, only activated.

This command handler turns a channel of a single command, subcommand, module or event on or off. Note: This handler has not been not registered, only activated.

Matches("/^config

(subcmd|mod|cmd|event) (.+) (enable|disable) (priv|msg|guild|all)$/i")
public
# setAccessLevelOfChannelCommand( $message, $channel, $sender, $sendto, $args )

This command handler sets command's access level on a particular channel. Note: This handler has not been not registered, only activated.

This command handler sets command's access level on a particular channel. Note: This handler has not been not registered, only activated.

Matches("/^config

(subcmd|cmd) (.+) admin (msg|priv|guild|all) (.+)$/i")
public
# checkCommandAccessLevels( $data, $sender )
public
# configCommandCommand( $message, $channel, $sender, $sendto, $args )

This command handler shows information and controls of a command in each channel. Note: This handler has not been not registered, only activated.

This command handler shows information and controls of a command in each channel. Note: This handler has not been not registered, only activated.

Matches("/^config

cmd ([a-z0-9_]+)$/i")
public
# getAliasInfo( $cmd )
public
# configModuleCommand( $message, $channel, $sender, $sendto, $args )

This command handler shows configuration and controls for a single module. Note: This handler has not been not registered, only activated.

This command handler shows configuration and controls for a single module. Note: This handler has not been not registered, only activated.

Matches("/^config

([a-z0-9_]+)$/i")
private
# getAdminDescription( $admin )

This helper method converts given short access level name to long name.

This helper method converts given short access level name to long name.

private
# getCommandInfo( $cmd, $type )

This helper method builds information and controls for given command.

This helper method builds information and controls for given command.

private
# getSubCommandInfo( $cmd, $type )

This helper method builds information and controls for given subcommand.

This helper method builds information and controls for given subcommand.

Properties summary
public $moduleName

Name of the module. Set automatically by module loader.

Name of the module. Set automatically by module loader.

#
public $text

Inject

#
public $db

Inject

#
public $commandManager

Inject

#
public $eventManager

Inject

#
public $subcommandManager

Inject

#
public $commandAlias

Inject

#
public $helpManager

Inject

#
public $settingManager

Inject

#
public $accessManager

Inject

#
public $logger

Logger

#
Budabot 4 Docs API documentation generated by ApiGen