File size: 354 Bytes
83a59ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package discord

import "net/http"

type clientConfig struct {
	httpClient    *http.Client
	botToken      string
	applicationID string
	baseURL       string
}

func defaultClientConfig() *clientConfig {
	return &clientConfig{
		httpClient:    http.DefaultClient,
		botToken:      "",
		applicationID: "",
		baseURL:       "https://discord.com/api",
	}
}