Skip to content

Commit

Permalink
why
Browse files Browse the repository at this point in the history
  • Loading branch information
szerookii authored Nov 20, 2024
1 parent 6e36418 commit 39c1ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goscord/rest/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (c *Client) Request(endpoint, method string, data io.Reader, contentType st
req.Header.Set("User-Agent", "DiscordBot (https://github.com/Goscord/goscord, 1.0.0)")
req.Header.Set("Authorization", fmt.Sprintf("Bot %s", c.token))

client := &http.Client{Timeout: 5 * time.Second}
client := &http.Client{Timeout: 15 * time.Second}
resp, err := client.Do(req)

if err != nil {
Expand Down

0 comments on commit 39c1ad8

Please sign in to comment.