diff --git a/.idea/.idea.CSharpBot/.idea/.name b/.idea/.idea.CSharpBot/.idea/.name new file mode 100644 index 0000000..d390146 --- /dev/null +++ b/.idea/.idea.CSharpBot/.idea/.name @@ -0,0 +1 @@ +CSharpBot \ No newline at end of file diff --git a/.idea/.idea.CSharpBot/.idea/vcs.xml b/.idea/.idea.CSharpBot/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.CSharpBot/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/CSharpBot/CSharpBot.csproj b/CSharpBot/CSharpBot.csproj index bdb44c2..1066c01 100644 --- a/CSharpBot/CSharpBot.csproj +++ b/CSharpBot/CSharpBot.csproj @@ -25,7 +25,7 @@ true - true + false 5 @@ -35,12 +35,12 @@ - - - - - - + + + + + + diff --git a/CSharpBot/Program.cs b/CSharpBot/Program.cs index b160ccf..51adfb5 100644 --- a/CSharpBot/Program.cs +++ b/CSharpBot/Program.cs @@ -31,19 +31,19 @@ var discord = new DiscordClient(new DiscordConfiguration TokenType = TokenType.Bot }); #else - var discord = new DiscordClient(new DiscordConfiguration - { - AlwaysCacheMembers = true, - AutoReconnect = true, - GatewayCompressionLevel = GatewayCompressionLevel.Stream, - HttpTimeout = TimeSpan.FromSeconds(10), - Intents = DiscordIntents.All, - LogTimestampFormat = "MMM dd yyyy - hh:mm:ss tt", - MinimumLogLevel = LogLevel.Information, - ReconnectIndefinitely = false, - Token = config.GetValue("token"), - TokenType = TokenType.Bot, - }); +var discord = new DiscordClient(new DiscordConfiguration +{ + AlwaysCacheMembers = true, + AutoReconnect = true, + GatewayCompressionLevel = GatewayCompressionLevel.Stream, + HttpTimeout = TimeSpan.FromSeconds(10), + Intents = DiscordIntents.All, + LogTimestampFormat = "MMM dd yyyy - hh:mm:ss tt", + MinimumLogLevel = LogLevel.Information, + ReconnectIndefinitely = false, + Token = config.GetValue("token"), + TokenType = TokenType.Bot, +}); #endif var services = new ServiceCollection()