-
Notifications
You must be signed in to change notification settings - Fork 0
class Webchat
www/php-ircbot/Classes/Command/Webchat.php
IRCBot\Command
- Oliver Raduner [email protected]
- 30.12.2014
1.0
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
Sends the arguments to the channel, like say from a user.
IRC-Syntax: !webchat [text]
- Inherited from \Command\Webchat
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 » Webchat
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.