mirror of
https://github.com/42wim/matterbridge.git
synced 2025-02-22 00:10:58 +01: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, "")
|
||||
b.Send(b.Config.IRC.Nick, message.Text)
|
||||
}
|
||||
texts := strings.Split(message.Text, "\n")
|
||||
for _, text := range texts {
|
||||
|
Loading…
x
Reference in New Issue
Block a user