|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Triggered when the bot considers itself as being connected to a new IRC server. More...
Inheritance diagram for Erebot\Event\Connect:Additional Inherited Members | |
Public Member Functions inherited from Erebot\Event\AbstractEvent | |
| __construct (\Erebot\Interfaces\Connection $connection) | |
| getConnection () | |
| preventDefault ($prevent=null) | |
Protected Attributes inherited from Erebot\Event\AbstractEvent | |
| $connection | |
| Connection the event originated from. | |
| $halt | |
| Whether the default action should be prevented or not. More... | |
Triggered when the bot considers itself as being connected to a new IRC server.
Actually, the bot is considered to be connected to a new server when a predefined numeric message is received from that server. Therefore, this event is only a convenient shortcut for the underlying numeric event.
Definition at line 33 of file Connect.php.