Erebot  latest
A modular IRC bot for PHP 7.0+
Erebot\Event\ServerCapabilities Class Reference

Triggered when the bot has determined what features the IRC server supports. More...

+ Inheritance diagram for Erebot\Event\ServerCapabilities:

Public Member Functions

 __construct (\Erebot\Interfaces\Connection $connection,\Erebot\Module\Base $module)
 
 getModule ()
 

Protected Attributes

 $module
 Module containing the server's capabilities.
 

Detailed Description

Triggered when the bot has determined what features the IRC server supports.

Definition at line 28 of file ServerCapabilities.php.

Constructor & Destructor Documentation

Erebot\Event\ServerCapabilities::__construct ( \Erebot\Interfaces\Connection  $connection,
\Erebot\Module\Base  $module 
)

Constructs a new event dealing with server capabilities.

Parameters
Erebot::Interfaces::Connection$connectionThe connection this event relates to.
Erebot::Module::Base$moduleThe module containing information about the server's capabilities.

Definition at line 45 of file ServerCapabilities.php.

References Erebot\Event\ServerCapabilities\$module.


The documentation for this class was generated from the following file: