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 AliasController

Namespace: Budabot\Core\Modules
Definecommand(:

command = 'alias', accessLevel = 'mod', description = 'Manage command aliases', help = 'alias.txt', defaultStatus = '1' )


Instance: Commands this controller contains:
Located at CONFIG/AliasController.class.php
Methods summary
public
# setup( )

Setup

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

This command handler add a command alias.

This command handler add a command alias.

Handlescommand("alias")

Matches("/^alias

add ([a-z0-9]+) (.+)/si")
public
# aliasListCommand( $message, $channel, $sender, $sendto, $args )

This command handler list all aliases.

This command handler list all aliases.

Handlescommand("alias")

Matches("/^alias

list$/i")
public
# aliasRemCommand( $message, $channel, $sender, $sendto, $args )

This command handler remove a command alias.

This command handler remove a command alias.

Handlescommand("alias")

Matches("/^alias

rem ([a-z0-9]+)/i")
private
# padRow( $str, $size )
Properties summary
public $commandAlias

Inject

#
public $commandManager

Inject

#
public $text

Inject

#
Budabot 4 Docs API documentation generated by ApiGen