wtf auth??

This commit is contained in:
41666 2025-03-26 21:08:15 -07:00
parent 607d7e121c
commit a3a1654030
14 changed files with 337 additions and 1 deletions

View file

@ -42,6 +42,10 @@ func (c *DiscordClientMock) BotAuth(req *http.Request) {
c.Called(req)
}
func (c *DiscordClientMock) ClientAuth(req *http.Request, accessToken string) {
c.Called(req, accessToken)
}
func (c *DiscordClientMock) MockResponse(method, path string, statusCode int, data any) {
body := bytes.Buffer{}
json.NewEncoder(&body).Encode(data)