Message from @Undead Mockingbird
Discord ID: 508546831106572288
D:<
yes, mister "i don't see books going anywhere soon"
I don't
i have faith
Well, yes, you didn't pass any credentials XD
commodore 64 in da house tho
You get HTTP 401 if you can't authenticate.
Go and pass in the credentials of the application you created on the developer portal.
i'm just following this Discord.Net tutorial and i have no idea what i'm typing here
It's a bad tutorial if it's telling you to attempt to connect unauthenticated.
You should have an API key or a token.
the token comes later
It's just an async method.
There is no code that connects to Discord.
look lower
You need to call LoginAsync with your token.
it's right fucking there
!ping
wait no
You should get an HTTP 2XX
That's the standard REST convention.
Probably HTTP 200.
Or 201 wit a continue for paged results
idk about any of that but it does this
```csharp
await client.LoginAsync(TokenType.Bot, token);
await client.StartAsync();
```
Oh, did you attach a debuggeR?
Hold on ...
i dont know
everything i have done is on that page
Oh, not it's an exception.
For some reason your token didn't work.
hm
Check for copy paste error. You might have snipped off the last char or the first.
well, it's right
just checked
Also, the token is case sensitive.
i cant accidentally snip off the last char because theres a copy button lol
