summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authoralex2018-10-20 00:40:15 +0100
committeralex2018-10-20 00:45:25 +0100
commit289684b0f117181c03e4e5ef6616d574da9a1981 (patch)
tree1a803992f7bec0a46b5838141c72b5192c14ecc6 /main.go
parent64cbb5254ad6308e4dab42cc1e3fdcea9d8d6893 (diff)
downloadwatbot-289684b0f117181c03e4e5ef6616d574da9a1981.tar.gz
watbot-289684b0f117181c03e4e5ef6616d574da9a1981.tar.bz2
watbot-289684b0f117181c03e4e5ef6616d574da9a1981.zip
sorry for rehosting ur stuff (。◕ ‿ ◕。)
Added original source Fixed readme typo (I fat fingered your username again whoops) Fiddling with golang config
Diffstat (limited to 'main.go')
-rw-r--r--main.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/main.go b/main.go
new file mode 100644
index 0000000..54ddf3c
--- /dev/null
+++ b/main.go
@@ -0,0 +1,18 @@
+package main
+
+import "fmt"
+import "github.com/go-irc/irc"
+import "github.com/namsral/flag"
+
+func main() {
+ var pass string
+ flag.String(pass)
+ config := irc.ClientConfig {
+ Nick: "wat",
+ Pass: pass,
+ User: "wat",
+ Name: "wat",
+ Handler: testHandler
+ }
+ fmt.Println("Hello world")
+}