From 274d8f6966b7eaba585b0c78476fea6fc73a422e Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Sat, 23 Jul 2022 09:08:08 -0400 Subject: [PATCH] cowboy: fix original url --- plugins/cowboy/cowboy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cowboy/cowboy.go b/plugins/cowboy/cowboy.go index 4fcddc4..01a085f 100644 --- a/plugins/cowboy/cowboy.go +++ b/plugins/cowboy/cowboy.go @@ -84,7 +84,7 @@ func (p *Cowboy) makeCowboy(r bot.Request) { } log.Debug().Msgf("makeCowboy: %s", r.Values["what"]) base := p.c.Get("baseURL", "http://127.0.0.1:1337") - u := base + "/cowboy/img/" + r.Values["what"] + u := base + "/cowboy/img/hat/" + r.Values["what"] p.b.Send(r.Conn, bot.Delete, r.Msg.Channel, r.Msg.ID) p.b.Send(r.Conn, bot.Message, r.Msg.Channel, "", bot.ImageAttachment{ URL: u,