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 ProfileController

Authors: - Tyrence (RK2)

Namespace: Budabot\Core\Modules
Definecommand(:

command = 'profile', accessLevel = 'admin', description = 'View, add, remove, and load profiles', help = 'profile.txt', alias = 'profiles' )


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

This handler is called on bot startup.

This handler is called on bot startup.

Setup

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

Handlescommand("profile")

Matches("/^profile$/i")

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

Handlescommand("profile")

Matches("/^profile

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

Handlescommand("profile")

Matches("/^profile

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

Handlescommand("profile")

Matches("/^profile

(rem|remove|del|delete) ([a-z0-9_-]+)$/i")
public
# profileLoadCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("profile")

Matches("/^profile

load ([a-z0-9_-]+)$/i")
public
# getFilename( $profileName )
public
# loadProfile( $filename, $sender )
Properties summary
public $moduleName

Name of the module. Set automatically by module loader.

Name of the module. Set automatically by module loader.

#
public $db

Inject

#
public $settingManager

Inject

#
public $text

Inject

#
public $util

Inject

#
public $commandManager

Inject

#
private $path
#
private string $fileExt
# ".txt"
Budabot 4 Docs API documentation generated by ApiGen