C# Class AsciiArt.AsciiArt

Plugin to send various ASCII-Art images.
Inheritance: Kiwana.Api.Plugin
Exibir arquivo Open project: Banane9/Kiwana

Public Methods

Method Description
HandleLine ( List ex, string recipient, string command, bool userAuthorized, bool console ) : void

Accepts the NewLine event of the Kiwana class.

Private Methods

Method Description
_sendArt ( string recipient, string art ) : void

Iterates through the array containing the ASCII-Art piece.

Method Details

HandleLine() public method

Accepts the NewLine event of the Kiwana class.
public HandleLine ( List ex, string recipient, string command, bool userAuthorized, bool console ) : void
ex List The line from the server, split at spaces.
recipient string The channel or user the message came from. Empty when from console.
command string The normalized command. Empty if there's no command.
userAuthorized bool Whether the user sending the command is authorized. False if there's no command.
console bool Whether the line came from the console.
return void