This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "irc" { | |
import events = require('events'); | |
export interface Client extends events.EventEmitter { | |
send(command: string, ...args: string[]): void; | |
join(channel: string, callback: (arg: any)=>void): void; | |
part(channel: string, message: string): void; | |
part(channel: string, callback: (arg: any)=>void, message: string): void; | |
say(target: string, message: string): void; | |
ctcp(target: string, type: string, text: string): void; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "irc" { | |
import events = require('events'); | |
export interface Client extends events.EventEmitter { | |
send(command: string, ...args: string[]): void; | |
join(channel: string, callback: (arg: any)=>void): void; | |
part(channel: string, message: string): void; | |
part(channel: string, callback: (arg: any)=>void, message: string): void; | |
say(target: string, message: string): void; | |
ctcp(target: string, type: string, text: string): void; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* by Adrian Statescu <adrian@thinkphp.ro> | |
* Twitter: @thinkphp | |
* G+ : http://gplus.to/thinkphp | |
* MIT Style License | |
*/ | |