diff --git a/main.go b/main.go index 7ef6fdd..b534bdc 100644 --- a/main.go +++ b/main.go @@ -96,7 +96,7 @@ func main() { for { time.Sleep(30 * time.Second) } - fmt.Println("Why am I here ?") + } func ListenCW(c *tdlib.Client) { @@ -109,7 +109,7 @@ func ListenCW(c *tdlib.Client) { return false } - conn, err := amqp.Dial("amqp://shoopea:UmDd5g4WRa2MzqOHsG2T@localhost:5672/chatwars/" + strconv.FormatInt(ownUserID64, 10)) + conn, err := amqp.Dial("amqp://shoopea:UmDd5g4WRa2MzqOHsG2T@localhost:5672/chatwars_shoopea") if err != nil { log.Fatal(err) }