try to hotfix "invalid client" error from discord

This commit is contained in:
Дмитрий Шиманский
2023-12-21 00:11:06 +03:00
parent f7f5723b2d
commit 408f7525f1

View File

@@ -55,12 +55,12 @@
{
<h4>Ошибка! Попробуй авторизоваться заново</h4>
Console.Error.WriteLine("Don't worry, this message is not bad as you think \n START \\/");
Console.Error.WriteLine("Error: DiscordAuthorize is not worked");
Console.Error.WriteLine($"Body from discord: {body}");
Console.Error.WriteLine($"Check environment data: \n ClientId={Startup.clientId}\nClientSecret={Startup.clientSecret}\nRedirectUrl={Startup.redirectUrl}\nOwnerId=wwwwwwwwwwwwwwwwwwwwwww{Startup.ownerId} ");
Console.Error.WriteLine("If any data is null and you set data in environment or appsettings.json, please create issue with this debug messages ");
Console.Error.WriteLine("END /\\");
Console.Error.WriteLine("debug: START \\/ \nDon't worry, this message is not bad as you think");
Console.Error.WriteLine("error: DiscordAuthorize is not worked");
Console.Error.WriteLine($"debug: Body from discord: {body}\ndebug: Sended data to discord: {message.Content.ReadAsStringAsync().Result}");
Console.Error.WriteLine($"info: Check environment data: \nClientId={Startup.clientId}\nClientSecret={Startup.clientSecret}\nRedirectUrl={Startup.redirectUrl}\nOwnerId={Startup.ownerId} ");
Console.Error.WriteLine("info: If any data is null and you set data in environment or appsettings.json, please create issue with this debug messages ");
Console.Error.WriteLine("debug: END /\\");
}
else
{