diff options
author | Benny Morrison <benmorrison@ttm.sh> | 2019-03-19 00:55:21 -0400 |
---|---|---|
committer | Benny Morrison <benmorrison@ttm.sh> | 2019-03-19 00:55:21 -0400 |
commit | cbdbfb7e563aa812f3f4a9977685f080280cdc58 (patch) | |
tree | d6548ff0bf64988edc7145ec8c52978bb8375f72 | |
parent | ac0dc5bf01c2afd5021898aeb4ceb172c5f8c4fb (diff) | |
download | goofbot-cbdbfb7e563aa812f3f4a9977685f080280cdc58.tar.gz |
sending !users output to private message
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go index 1050b1a..7406ad1 100644 --- a/main.go +++ b/main.go @@ -159,7 +159,8 @@ func main() { awk.Wait() r.Close() - c.Cmd.ReplyTo(e, bytestream.String()) + c.Cmd.Reply(e, "Check your private messages!") + c.Cmd.Message(e.Source.Name, bytestream.String()) return } // number of total human users on the server |