diff options
-rwxr-xr-x | goofbot | bin | 0 -> 6157079 bytes | |||
-rw-r--r-- | main.go | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/goofbot b/goofbot new file mode 100755 index 0000000..3196872 --- /dev/null +++ b/goofbot Binary files differdiff --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 } }) |