cleanup a bit

This commit is contained in:
Aaron Bieber 2020-01-29 17:12:50 -07:00
parent 722cf107f5
commit 6496fecaf5

View File

@ -66,8 +66,6 @@ func main() {
} }
fmt.Println() fmt.Println()
log.Printf("'%s' : '%s'\n", username, password)
resp, err := cli.Login(&gomatrix.ReqLogin{ resp, err := cli.Login(&gomatrix.ReqLogin{
Type: "m.login.password", Type: "m.login.password",
User: username, User: username,
@ -122,9 +120,8 @@ func main() {
} }
}) })
//cli.SendText("!tmCVBJAeuKjCfihUjb:cobryce.com", "Butts")
sendMessage(cli, "!LTxJpLHtShMVmlpwmZ:tapenet.org", "Typing hi!") sendMessage(cli, "!LTxJpLHtShMVmlpwmZ:tapenet.org", "Typing hi!")
sendMessage(cli, "!tmCVBJAeuKjCfihUjb:cobryce.com", "Butts") //sendMessage(cli, "!tmCVBJAeuKjCfihUjb:cobryce.com", "Butts")
avatar := "https://deftly.net/mcchunkie.png" avatar := "https://deftly.net/mcchunkie.png"
aurl, err := cli.GetAvatarURL() aurl, err := cli.GetAvatarURL()