(ocd) markup fix
This commit is contained in:
parent
499007f2d7
commit
124f756eb4
@ -1,11 +1,11 @@
|
|||||||
Description
|
Description
|
||||||
----------
|
-----------
|
||||||
|
|
||||||
Event based irc client library.
|
Event based irc client library.
|
||||||
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
---------
|
--------
|
||||||
* Event based. Register Callbacks for the events you need to handle.
|
* Event based. Register Callbacks for the events you need to handle.
|
||||||
* Handles basic irc demands for you
|
* Handles basic irc demands for you
|
||||||
* Standard CTCP
|
* Standard CTCP
|
||||||
@ -13,15 +13,15 @@ Features
|
|||||||
* Detect stoned servers
|
* Detect stoned servers
|
||||||
|
|
||||||
Install
|
Install
|
||||||
----------
|
-------
|
||||||
$ go get github.com/thoj/go-ircevent
|
$ go get github.com/thoj/go-ircevent
|
||||||
|
|
||||||
Example
|
Example
|
||||||
----------
|
-------
|
||||||
See test/irc_test.go
|
See test/irc_test.go
|
||||||
|
|
||||||
Events for callbacks
|
Events for callbacks
|
||||||
---------
|
--------------------
|
||||||
* 001 Welcome
|
* 001 Welcome
|
||||||
* PING
|
* PING
|
||||||
* CTCP Unknown CTCP
|
* CTCP Unknown CTCP
|
||||||
@ -39,7 +39,7 @@ Events for callbacks
|
|||||||
|
|
||||||
|
|
||||||
AddCallback Example
|
AddCallback Example
|
||||||
---------
|
-------------------
|
||||||
ircobj.AddCallback("PRIVMSG", func(event *irc.Event) {
|
ircobj.AddCallback("PRIVMSG", func(event *irc.Event) {
|
||||||
//e.Message() contains the message
|
//e.Message() contains the message
|
||||||
//e.Nick Contains the sender
|
//e.Nick Contains the sender
|
||||||
|
Loading…
Reference in New Issue
Block a user