forked from pothtonswer/discordmuffin
Handle error in ChannelNewsFollow
This commit is contained in:
parent
8648632fc8
commit
b7ef3c8e0f
1 changed files with 3 additions and 0 deletions
|
@ -1819,6 +1819,9 @@ func (s *Session) ChannelNewsFollow(channelID, targetID string) (st *ChannelFoll
|
|||
}{targetID}
|
||||
|
||||
body, err := s.RequestWithBucketID("POST", endpoint, data, endpoint)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
err = unmarshal(body, &st)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue