Add list command
This commit is contained in:
parent
e4d5d2737b
commit
a3618b97ae
@ -151,6 +151,10 @@ func (c *Client) Away(message string) {
|
|||||||
c.Write("AWAY :" + message)
|
c.Write("AWAY :" + message)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Client) List() {
|
||||||
|
c.Write("LIST")
|
||||||
|
}
|
||||||
|
|
||||||
func (c *Client) writePass(password string) {
|
func (c *Client) writePass(password string) {
|
||||||
c.write("PASS " + password)
|
c.write("PASS " + password)
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,8 @@ const (
|
|||||||
ReplyWhoisIdle = "317"
|
ReplyWhoisIdle = "317"
|
||||||
ReplyEndOfWhois = "318"
|
ReplyEndOfWhois = "318"
|
||||||
ReplyWhoisChannels = "319"
|
ReplyWhoisChannels = "319"
|
||||||
|
ReplyList = "322"
|
||||||
|
ReplyListEnd = "323"
|
||||||
ReplyNoTopic = "331"
|
ReplyNoTopic = "331"
|
||||||
ReplyTopic = "332"
|
ReplyTopic = "332"
|
||||||
ReplyNamReply = "353"
|
ReplyNamReply = "353"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user