Skip to content

class Joins

Oliver edited this page Apr 25, 2020 · 1 revision

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


Joins

Package

IRCBot\Listener

author

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

getCommandsName()

private getCommandsName() : mixed

getKeywords()

Returns keywords that listener is listening to.

public getKeywords() : array

getUserNickName()

private getUserNickName(mixed $data) : mixed

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 » Joins

Clone this wiki locally