mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
feat: parse tags and negotiate message-tags capability
This commit is contained in:
@@ -77,6 +77,7 @@ func (c Client) Register(nick string, password string, channel string) {
|
||||
c.SendCommand("NICK", nick)
|
||||
c.SendCommand("USER", nick, "0", "*", nick)
|
||||
// TODO: CAP REQ :whatever capability the client recognizes and supports
|
||||
c.SendCommand("CAP", "REQ", ":message-tags")
|
||||
c.SendCommand("CAP", "END")
|
||||
c.SendCommand("JOIN", channel)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user