mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 01:10:27 +00:00
Remove markdown for giphy
This commit is contained in:
parent
008ea94b53
commit
5282cdaccd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user