From 20e3925c4a1d5fb061f3aa0898460697d5472c97 Mon Sep 17 00:00:00 2001 From: DutchEllie Date: Wed, 8 Sep 2021 23:01:19 +0200 Subject: [PATCH] fix parsing mistake --- discord/simple.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discord/simple.go b/discord/simple.go index c168adb..189a980 100644 --- a/discord/simple.go +++ b/discord/simple.go @@ -35,8 +35,9 @@ func (app *application) getPepeLink() (string, error) { // The above function is old and useless. The website bbwroller.com is down // o7 - - resp, err := http.Get(app.pepeServer + "/pepe") + url := "http://" + app.pepeServer + "/pepe" + app.infoLog.Printf("Request url: %s", url) + resp, err := http.Get(url) if err != nil { return "", err }