cowboy: who sent that emojy?

This commit is contained in:
Chris Sexton 2022-10-19 18:03:29 -04:00
parent e8ca86d008
commit da780a7a92
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ func (p *Cowboy) makeCowboy(r bot.Request) {
e = strings.Trim(e, ":") e = strings.Trim(e, ":")
e = fmt.Sprintf("<:%s:%s>", e, list[e]) e = fmt.Sprintf("<:%s:%s>", e, list[e])
} }
p.b.Send(r.Conn, bot.Message, r.Msg.Channel, r.Msg.User.Name+":")
p.b.Send(r.Conn, bot.Message, r.Msg.Channel, e) p.b.Send(r.Conn, bot.Message, r.Msg.Channel, e)
} }