parent
478409cf70
commit
35ee2c2d34
2
go.mod
2
go.mod
|
@ -8,5 +8,5 @@ require (
|
|||
github.com/pelletier/go-toml v1.8.1
|
||||
github.com/turnage/graw v0.0.0-20200404033202-65715eea1cd0
|
||||
go.jolheiser.com/beaver v1.0.2
|
||||
go.jolheiser.com/disco v0.0.2
|
||||
go.jolheiser.com/disco v0.0.3
|
||||
)
|
||||
|
|
2
go.sum
2
go.sum
|
@ -34,6 +34,8 @@ go.jolheiser.com/beaver v1.0.2 h1:KA2D6iO8MQhZi1nZYi/Chak/f1Cxfrs6b1XO623+Khk=
|
|||
go.jolheiser.com/beaver v1.0.2/go.mod h1:7X4F5+XOGSC3LejTShoBdqtRCnPWcnRgmYGmG3EKW8g=
|
||||
go.jolheiser.com/disco v0.0.2 h1:UGYNqO7NQSBGB/OoS9WE5o/jYvmx1G0Bq3qQRM42Bkw=
|
||||
go.jolheiser.com/disco v0.0.2/go.mod h1:tY3HkJmMrzXH/bPgDWKHn1DUzDxkemD80OHLgHSA5uQ=
|
||||
go.jolheiser.com/disco v0.0.3 h1:Itt+RazbK2OpREDArE5IN2TA+h4wgTh9HVtKa4N/U+Q=
|
||||
go.jolheiser.com/disco v0.0.3/go.mod h1:J1U0AyytqMRkcuoQCbfWTH7tM7Dfnmtn453lVERJTXI=
|
||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
|
||||
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
|
||||
|
|
|
@ -38,7 +38,7 @@ func (r *Reddit) Post(p *reddit.Post) error {
|
|||
description = description[:sub.BodyLimit] + "..."
|
||||
}
|
||||
|
||||
e := disco.Webhook{
|
||||
e := &disco.Webhook{
|
||||
Username: "/r/" + p.Subreddit,
|
||||
AvatarURL: sub.IconURL,
|
||||
Embeds: []*disco.Embed{
|
||||
|
|
Loading…
Reference in New Issue