Skip to content

class Webchats

Oliver edited this page Apr 25, 2020 · 1 revision

www/php-ircbot/Classes/Listener/Webchats.php


Webchats

Package

IRCBot\Listener

author

date

  • 29.12.2014

Overview

Public Properties

No public properties found

Constants

No constants found

Public Methods

execute() | getKeywords() | setIRCBot() | setIRCConnection() |

Properties

bot

Reference to the IRC Bot

protected $bot : \Library\IRC\Bot

Array

connection

Reference to the IRC Connection.

protected $connection : \Library\IRC\Connection

Array

Methods

execute()

Main function to execute when listen even occurs

public execute(mixed $data) : mixed

getArguments()

protected getArguments(string $data) : array

getKeywords()

Returns keywords that listener is listening to.

public getKeywords() : array

say()

Sends PRIVMSG to source with $msg

protected say(string $msg, mixed $source) : mixed

setIRCBot()

Set's the IRC Bot, so we can use it to send data to the server.

public setIRCBot(\Library\IRCBot $ircBot) : mixed

setIRCConnection()

Set's the IRC Connection, so we can use it to send data to the server.

public setIRCConnection(\Library\IRC\Connection $ircConnection) : mixed


\ » Classes » Webchats

Clone this wiki locally