Skip to content

Commit

Permalink
Gofmt fix
Browse files Browse the repository at this point in the history
Gofmt fix
  • Loading branch information
FedorLap2006 committed Dec 16, 2020
1 parent 356455e commit d703a29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion restapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,9 @@ func (s *Session) GuildBanCreate(guildID, userID string, days int) (err error) {
return s.GuildBanCreateWithReason(guildID, userID, "", days)
}

// GuildBan finds ban by given guild and user id and returns GuildBan structure
// GuildBan finds ban by given guild and user id and returns GuildBan structure
func (s *Session) GuildBan(guildID, userID string) (st *GuildBan, err error) {

body, err := s.RequestWithBucketID("GET", EndpointGuildBan(guildID, userID), nil, EndpointGuildBan(guildID, userID))
if err != nil {
return
Expand Down

0 comments on commit d703a29

Please sign in to comment.