diff options
author | ahriman <ahriman@falte.red> | 2019-03-16 04:58:16 +0000 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2019-03-16 04:58:16 +0000 |
commit | cdd4ad3d757b4b2f9f6fc4480a795a54aa333629 (patch) | |
tree | db9e9cf9418a9fcd82ec26d4547821673c43d082 | |
parent | 397091d65647ef0a4a74d5cc2ba63cf36c57dbde (diff) | |
download | goofbot-cdd4ad3d757b4b2f9f6fc4480a795a54aa333629.tar.gz |
debugging !join
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go index 0a5dfed..f174b16 100644 --- a/main.go +++ b/main.go @@ -55,7 +55,7 @@ func main() { if strings.HasPrefix(e.Last(), "!join") && e.Source.Name == owner { c.Cmd.Reply(e, "Right away, cap'n!") time.Sleep(100 * time.Millisecond) - c.Cmd.Join(e.Params[0]) + c.Cmd.Join(e.Params[1]) } // respond with uptime / load if strings.HasPrefix(e.Last(), "!uptime") { |