summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authoralex2018-10-25 01:04:35 +0100
committeralex2018-10-25 01:04:35 +0100
commit2b1c9889e58cf11fd9df941924c4f8372c41550b (patch)
tree15aa3794b9b850241293cdb04fb1c1dc7cdb482e /main.go
parent30d5e6f07674b316bf5542d2d6fdb8654e8bda39 (diff)
downloadwatbot-2b1c9889e58cf11fd9df941924c4f8372c41550b.tar.gz
watbot-2b1c9889e58cf11fd9df941924c4f8372c41550b.tar.bz2
watbot-2b1c9889e58cf11fd9df941924c4f8372c41550b.zip
misc improvements
added self reference, allowing the bot to accrue currency messed about with some messages (removed swears, changed 'schlorped', etc) improved send output regular wattery to make 'wat' interesting
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index dd7ec6f..bc203d8 100644
--- a/main.go
+++ b/main.go
@@ -1,15 +1,17 @@
package main
import "fmt"
+import "crypto/tls"
+
import "github.com/go-irc/irc"
import "github.com/namsral/flag"
-import "crypto/tls"
import "git.circuitco.de/self/watbot/wat"
func main() {
pass := flag.String("pass", "", "password")
flag.Parse()
+ fmt.Printf("PASS len %d\n", len(*pass))
config := irc.ClientConfig {
Nick: "watt",
Pass: *pass,