Remove markdown for giphy

This commit is contained in:
Wim 2015-10-28 00:16:42 +01:00
parent 008ea94b53
commit 5282cdaccd

View File

@ -88,7 +88,7 @@ func (b *Bridge) handleMatter() {
b.i.SendRaw("NAMES " + b.Config.IRC.Channel)
case "!gif":
message.Text = b.giphyRandom(strings.Fields(strings.Replace(message.Text, "!gif ", "", 1)))
b.Send(b.Config.IRC.Nick, "![img]("+message.Text+")")
b.Send(b.Config.IRC.Nick, message.Text)
}
texts := strings.Split(message.Text, "\n")
for _, text := range texts {