From f3cfcad81aed4cd55fdd8c90a6d130ef8345c7cb Mon Sep 17 00:00:00 2001 From: Benny Morrison Date: Fri, 15 Mar 2019 02:28:42 -0400 Subject: finished exit command --- main.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index da0471a..da18a8d 100644 --- a/main.go +++ b/main.go @@ -20,6 +20,11 @@ func main() { SSL: true, }) + //TODO: handle PING/PONG events + //client.Handlers.Add(girc.PING, func(i girc.PING, c *girc.Client)) { + // c.Cmd.Pong(i) + //} + client.Handlers.Add(girc.CONNECTED, func(c *girc.Client, e girc.Event) { c.Cmd.Join("#goofbot") }) @@ -37,7 +42,7 @@ func main() { return } if strings.HasPrefix(e.Last(), "!botlist") { - c.Cmd.Reply(e, "Creator: ahriman. I'm the assistance bot for ~institute. Commands: !hello, !stop") + c.Cmd.Reply(e, "Creator: ahriman. I'm the assistance bot for tilde.institute. Commands: !hello, !stop") return } }) -- cgit 1.4.1-2-gfad0