parent
27733f40f9
commit
f54141f8e5
|
@ -56,7 +56,7 @@ func (t *Twitter) Discord(tweet *twitter.Tweet) error {
|
||||||
beaver.Debug(string(data))
|
beaver.Debug(string(data))
|
||||||
|
|
||||||
if t.Filter.Webhook == "" {
|
if t.Filter.Webhook == "" {
|
||||||
return fmt.Errorf("no webhook for %s", t.Filter)
|
return fmt.Errorf("no webhook for %v", t.Filter)
|
||||||
}
|
}
|
||||||
|
|
||||||
payload := bytes.NewBuffer(data)
|
payload := bytes.NewBuffer(data)
|
||||||
|
|
Loading…
Reference in New Issue