Skip to content

Conversation

@ioquatix
Copy link
Member

@ioquatix ioquatix commented Nov 26, 2024

I noticed these errors in CI:

    expect #<Async::Discord::Guilds "/api/v10/users/@me/guilds" value=nil> not to
        be empty?
            ⚠ Async::REST::ResponseError: 400 HTTP/2: <html>
            <head><title>400 Bad Request</title></head>
            <body>
            <center><h1>400 Bad Request</h1></center>
            <hr><center>cloudflare</center>
            </body>
            </html>

The documentation for the user agent might explicitly require the string DiscordBot: https://discord.com/developers/docs/reference#user-agent-user-agent-example

Types of Changes

  • Bug fix.

Contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants