-
Notifications
You must be signed in to change notification settings - Fork 0
class Timeout
www/php-ircbot/Classes/Command/Timeout.php
IRCBot\Command
- Super3 [email protected]
No public properties found
No constants found
command() | executeCommand() | getNick() | setIRCBot() | setIRCConnection() |
Contains all given arguments.
protected
$arguments : array
- Inherited from \Library\IRC\Command\Base
Array
Reference to the IRC Bot
protected
$bot : \Lirary\IRC\Bot
- Inherited from \Library\IRC\Command\Base
Array
Reference to the IRC Connection.
protected
$connection : \Library\IRC\Connection
- Inherited from \Library\IRC\Command\Base
Array
Original request from server
private
$data : string
- Inherited from \Library\IRC\Command\Base
Array
The command's help text.
You have to define this in the command.
protected
$help : string
Array
The number of arguments the command needs.
You have to define this in the command.
protected
$numberOfArguments : int
Array
Contains channel or user name
protected
$source : string
- Inherited from \Library\IRC\Command\Base
Array
The bot disconnects for the specified number of seconds.
This method is called if the command get's executed.
- Inherited from \Command\Timeout
public
command() : mixed
Executes the command.
- Inherited from \Library\IRC\Command\Base
public
executeCommand(array $arguments, string $source, string $data) : mixed
Fetches data from $uri
- Inherited from \Library\IRC\Command\Base
protected
fetch(string $uri) : string
- Inherited from \Library\IRC\Command\Base
private
getHelp() : mixed
Returns a user's nickname
- Inherited from \Library\IRC\Command\Base
public
getNick() : string
Returns requesting user IP
- Inherited from \Library\IRC\Command\Base
protected
getUserIp() : string
Sends PRIVMSG to source with $msg
- Inherited from \Library\IRC\Command\Base
protected
say(string $msg) : mixed
-
version:
2.0
Set's the IRC Bot, so we can use it to send data to the server.
- Inherited from \Library\IRC\Command\Base
public
setIRCBot(\Library\IRCBot $ircBot) : mixed
Set's the IRC Connection, so we can use it to send data to the server.
- Inherited from \Library\IRC\Command\Base
public
setIRCConnection(\Library\IRC\Connection $ircConnection) : mixed
\ » Classes » Timeout
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.