Overview

Namespaces

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

Classes

  • AlienArmorController
  • AlienBioController
  • AlienMiscController
  • AOSpeakController
  • AOUController
  • AXPController
  • BankController
  • BosslootController
  • BroadcastController
  • BuffPerksController
  • CacheController
  • ChatAssistController
  • ChatCheckController
  • ChatLeaderController
  • ChatRallyController
  • ChatSayController
  • ChatTopicController
  • CityWaveController
  • CloakController
  • ClusterController
  • CountdownController
  • DevController
  • DingController
  • EventsController
  • FightController
  • FindOrgController
  • FindPlayerController
  • FunController
  • GitController
  • GuideController
  • GuildController
  • HelpbotController
  • HtmlDecodeController
  • ImplantController
  • ImplantDesignerController
  • InactiveMemberController
  • ItemsController
  • KillOnSightController
  • LevelController
  • LinksController
  • LootListsController
  • MdbController
  • MessageInfoCommandReply
  • MockCommandReply
  • NanoController
  • NewsController
  • NotesController
  • OnlineController
  • OrgHistoryController
  • OrglistController
  • OrgMembersController
  • OSController
  • PlayerHistoryController
  • PlayfieldController
  • PocketbossController
  • PremadeImplantController
  • PrivateChannelController
  • QuoteController
  • RaffleController
  • RaidController
  • RandomController
  • RecipeController
  • RelayController
  • ReputationController
  • ResearchController
  • RunAsController
  • SendTellController
  • ShoppingController
  • SilenceController
  • SkillsController
  • SpiritsController
  • StopwatchController
  • Teamspeak3
  • TeamspeakController
  • TestController
  • TimeController
  • TimerController
  • TimezoneController
  • TowerController
  • TrackerController
  • TrickleController
  • UnixtimeController
  • VoteController
  • WeatherController
  • WhatBuffsController
  • WhereisController
  • WhoisController
  • WhoisOrgController
  • WhompahController
  • Overview
  • Namespace
  • Class

Class QuoteController

Authors: - Lucier (RK1) - Tyrence (RK2)

Namespace: Budabot\User\Modules
Definecommand(:

command = 'quote', accessLevel = 'all', description = 'Add/Remove/View Quotes', help = 'quote.txt' )


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

This handler is called on bot startup.

This handler is called on bot startup.

Setup

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

Handlescommand("quote")

Matches("/^quote

add (.+)$/si")
public
# quoteRemoveCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("quote")

Matches("/^quote

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

Handlescommand("quote")

Matches("/^quote

search (.+)$/i")
public
# quoteShowCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("quote")

Matches("/^quote

([0-9]+)$/i")
public
# quoteShowRandomCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("quote")

Matches("/^quote$/i")

public
# getMaxId( )
public
# getQuoteInfo( $id = null )
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 $accessManager

Inject

#
public $text

Inject

#
public $util

Inject

#
Budabot 4 Docs API documentation generated by ApiGen