diff --git a/.editorconfig b/.editorconfig index 2db502b..386d37a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -88,3 +88,4 @@ dotnet_style_operator_placement_when_wrapping = beginning_of_line tab_width = 4 indent_size = 4 end_of_line = crlf +insert_final_newline = false diff --git a/DiscordPlayerCountBot.Tests/Environment/EnivronmentHelper.cs b/DiscordPlayerCountBot.Tests/Environment/EnivronmentHelper.cs index e754ccd..9a5cb1e 100644 --- a/DiscordPlayerCountBot.Tests/Environment/EnivronmentHelper.cs +++ b/DiscordPlayerCountBot.Tests/Environment/EnivronmentHelper.cs @@ -83,4 +83,4 @@ public static void ClearTestEnvironmentVariables() System.Environment.SetEnvironmentVariable("BOT_APPLICATION_VARIABLES", null); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Attributes/AttributeHelper.cs b/DiscordPlayerCountBot/Attributes/AttributeHelper.cs index 8b64137..4f3b2d4 100644 --- a/DiscordPlayerCountBot/Attributes/AttributeHelper.cs +++ b/DiscordPlayerCountBot/Attributes/AttributeHelper.cs @@ -9,4 +9,4 @@ public static string GetNameFromAttribute(object obj) return label; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Bot/BotConfig.cs b/DiscordPlayerCountBot/Bot/BotConfig.cs index e61eafa..c690378 100644 --- a/DiscordPlayerCountBot/Bot/BotConfig.cs +++ b/DiscordPlayerCountBot/Bot/BotConfig.cs @@ -21,4 +21,4 @@ public void CreateDefaults() ApplicationTokens.Add("BattleMetricsKey", "Here"); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Bot/BotInformation.cs b/DiscordPlayerCountBot/Bot/BotInformation.cs index 66e55c0..8a25514 100644 --- a/DiscordPlayerCountBot/Bot/BotInformation.cs +++ b/DiscordPlayerCountBot/Bot/BotInformation.cs @@ -33,4 +33,4 @@ public Tuple GetAddressAndPort() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Configuration/Base/IConfigurable.cs b/DiscordPlayerCountBot/Configuration/Base/IConfigurable.cs index ae099cf..0f3ed50 100644 --- a/DiscordPlayerCountBot/Configuration/Base/IConfigurable.cs +++ b/DiscordPlayerCountBot/Configuration/Base/IConfigurable.cs @@ -5,4 +5,4 @@ public interface IConfigurable public HostEnvironment GetRequiredEnvironment(); Task, int>> Configure(bool shouldStart = true); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Configuration/DockerConfiguration.cs b/DiscordPlayerCountBot/Configuration/DockerConfiguration.cs index 923ee32..de0d592 100644 --- a/DiscordPlayerCountBot/Configuration/DockerConfiguration.cs +++ b/DiscordPlayerCountBot/Configuration/DockerConfiguration.cs @@ -124,4 +124,4 @@ public HostEnvironment GetRequiredEnvironment() return HostEnvironment.DOCKER; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Configuration/EnvironmentHelper.cs b/DiscordPlayerCountBot/Configuration/EnvironmentHelper.cs index 9e1ad8b..8c4039c 100644 --- a/DiscordPlayerCountBot/Configuration/EnvironmentHelper.cs +++ b/DiscordPlayerCountBot/Configuration/EnvironmentHelper.cs @@ -23,4 +23,4 @@ public static Tuple> ValidateVariables() return new(hasAllRequiredVariables, listOfMissingVariableNames); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Configuration/StandardConfiguration.cs b/DiscordPlayerCountBot/Configuration/StandardConfiguration.cs index f186260..a34936e 100644 --- a/DiscordPlayerCountBot/Configuration/StandardConfiguration.cs +++ b/DiscordPlayerCountBot/Configuration/StandardConfiguration.cs @@ -50,4 +50,4 @@ public HostEnvironment GetRequiredEnvironment() return HostEnvironment.STANDARD; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/CFX/CFXPlayerInformation.cs b/DiscordPlayerCountBot/Data/CFX/CFXPlayerInformation.cs index f327168..3830682 100644 --- a/DiscordPlayerCountBot/Data/CFX/CFXPlayerInformation.cs +++ b/DiscordPlayerCountBot/Data/CFX/CFXPlayerInformation.cs @@ -17,4 +17,4 @@ public class CFXPlayerInformation [JsonProperty("ping")] public int Ping { get; set; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/CFX/CFXServer.cs b/DiscordPlayerCountBot/Data/CFX/CFXServer.cs index 20c10d7..6b83dbd 100644 --- a/DiscordPlayerCountBot/Data/CFX/CFXServer.cs +++ b/DiscordPlayerCountBot/Data/CFX/CFXServer.cs @@ -87,4 +87,4 @@ public class CFXVars } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftDebugInfo.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftDebugInfo.cs index d02e238..92d1121 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftDebugInfo.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftDebugInfo.cs @@ -34,4 +34,4 @@ public class MinecraftDebugInfo } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftErrorInfo.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftErrorInfo.cs index 6680f03..5e700fd 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftErrorInfo.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftErrorInfo.cs @@ -7,4 +7,4 @@ public class MinecraftErrorInfo } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftInfo.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftInfo.cs index 99a8783..62f9173 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftInfo.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftInfo.cs @@ -13,4 +13,4 @@ public class MinecraftInfo } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftMotd.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftMotd.cs index 420c90e..7530f29 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftMotd.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftMotd.cs @@ -13,4 +13,4 @@ public class MinecraftMotd } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftPlayerInfo.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftPlayerInfo.cs index 6ab79f2..9c0f494 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftPlayerInfo.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftPlayerInfo.cs @@ -10,4 +10,4 @@ public class MinecraftPlayerInfo } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Minecraft/MinecraftServer.cs b/DiscordPlayerCountBot/Data/Minecraft/MinecraftServer.cs index 9d6d2b0..f23adcc 100644 --- a/DiscordPlayerCountBot/Data/Minecraft/MinecraftServer.cs +++ b/DiscordPlayerCountBot/Data/Minecraft/MinecraftServer.cs @@ -50,4 +50,4 @@ public MinecraftViewModel GetViewModel() } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Scum/ScumProviderResponse.cs b/DiscordPlayerCountBot/Data/Scum/ScumProviderResponse.cs index 960961d..fecc646 100644 --- a/DiscordPlayerCountBot/Data/Scum/ScumProviderResponse.cs +++ b/DiscordPlayerCountBot/Data/Scum/ScumProviderResponse.cs @@ -12,4 +12,4 @@ public class ScumProviderResponse return Data.Where(data => data.QueryPort == port || data.Port == port).FirstOrDefault(); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Scum/ScumServerData.cs b/DiscordPlayerCountBot/Data/Scum/ScumServerData.cs index 7225493..4394954 100644 --- a/DiscordPlayerCountBot/Data/Scum/ScumServerData.cs +++ b/DiscordPlayerCountBot/Data/Scum/ScumServerData.cs @@ -14,4 +14,4 @@ public class ScumServerData public string? Time { get; set; } public bool Password { get; set; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Steam/SteamApiResponseData.cs b/DiscordPlayerCountBot/Data/Steam/SteamApiResponseData.cs index a5f7430..16e172c 100644 --- a/DiscordPlayerCountBot/Data/Steam/SteamApiResponseData.cs +++ b/DiscordPlayerCountBot/Data/Steam/SteamApiResponseData.cs @@ -42,4 +42,4 @@ public int GetQueueCount() return 0; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Steam/SteamServerListResponse.cs b/DiscordPlayerCountBot/Data/Steam/SteamServerListResponse.cs index b3aeee7..bb0eedb 100644 --- a/DiscordPlayerCountBot/Data/Steam/SteamServerListResponse.cs +++ b/DiscordPlayerCountBot/Data/Steam/SteamServerListResponse.cs @@ -14,4 +14,4 @@ public SteamServerListResponse() return response.GetAddressDataByPort(port); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Data/Steam/SteamServerListSubClass.cs b/DiscordPlayerCountBot/Data/Steam/SteamServerListSubClass.cs index a1be5fc..525ba63 100644 --- a/DiscordPlayerCountBot/Data/Steam/SteamServerListSubClass.cs +++ b/DiscordPlayerCountBot/Data/Steam/SteamServerListSubClass.cs @@ -22,4 +22,4 @@ public SteamServerListSubClass() return null; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Enums/DataProvider.cs b/DiscordPlayerCountBot/Enums/DataProvider.cs index 8c7644f..2b82939 100644 --- a/DiscordPlayerCountBot/Enums/DataProvider.cs +++ b/DiscordPlayerCountBot/Enums/DataProvider.cs @@ -10,4 +10,4 @@ public enum DataProvider RCONCLIENT, STEAMQUERY } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Enums/EnumHelper.cs b/DiscordPlayerCountBot/Enums/EnumHelper.cs index bc7eca2..fad23db 100644 --- a/DiscordPlayerCountBot/Enums/EnumHelper.cs +++ b/DiscordPlayerCountBot/Enums/EnumHelper.cs @@ -15,4 +15,4 @@ public static int GetActivityType(int value) } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Enums/HostEnviroment.cs b/DiscordPlayerCountBot/Enums/HostEnviroment.cs index f1bdfde..9a983e4 100644 --- a/DiscordPlayerCountBot/Enums/HostEnviroment.cs +++ b/DiscordPlayerCountBot/Enums/HostEnviroment.cs @@ -5,4 +5,4 @@ public enum HostEnvironment STANDARD, DOCKER } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Enums/RconServiceType.cs b/DiscordPlayerCountBot/Enums/RconServiceType.cs index 9ca97a3..8b12c94 100644 --- a/DiscordPlayerCountBot/Enums/RconServiceType.cs +++ b/DiscordPlayerCountBot/Enums/RconServiceType.cs @@ -6,4 +6,4 @@ public enum RconServiceType Minecraft, Ark } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Exceptions/ConfigurationException.cs b/DiscordPlayerCountBot/Exceptions/ConfigurationException.cs index b475db9..3836164 100644 --- a/DiscordPlayerCountBot/Exceptions/ConfigurationException.cs +++ b/DiscordPlayerCountBot/Exceptions/ConfigurationException.cs @@ -7,4 +7,4 @@ public ConfigurationException(string? message) : base(message) } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Exceptions/ParsingException.cs b/DiscordPlayerCountBot/Exceptions/ParsingException.cs index a9ed82b..2460d94 100644 --- a/DiscordPlayerCountBot/Exceptions/ParsingException.cs +++ b/DiscordPlayerCountBot/Exceptions/ParsingException.cs @@ -7,4 +7,4 @@ public ParsingException(string? message) : base(message) } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Exceptions/SteamQueryAuthenticationException.cs b/DiscordPlayerCountBot/Exceptions/SteamQueryAuthenticationException.cs index e7b0286..7af2704 100644 --- a/DiscordPlayerCountBot/Exceptions/SteamQueryAuthenticationException.cs +++ b/DiscordPlayerCountBot/Exceptions/SteamQueryAuthenticationException.cs @@ -6,4 +6,4 @@ public RconAuthenticationException(string? message) : base(message) { } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Extensions/DiscordClient.cs b/DiscordPlayerCountBot/Extensions/DiscordClient.cs index 5493dd2..501d471 100644 --- a/DiscordPlayerCountBot/Extensions/DiscordClient.cs +++ b/DiscordPlayerCountBot/Extensions/DiscordClient.cs @@ -41,4 +41,4 @@ public static async Task SetChannelName(this IDiscordClient socket, ulong? chann } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Extensions/StringExtensions.cs b/DiscordPlayerCountBot/Extensions/StringExtensions.cs index 22e47f4..cab05ce 100644 --- a/DiscordPlayerCountBot/Extensions/StringExtensions.cs +++ b/DiscordPlayerCountBot/Extensions/StringExtensions.cs @@ -32,4 +32,4 @@ public static bool TryGetSunMoonPhase(this string timeString, int? sunriseHour, return !string.IsNullOrEmpty(output); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/AddressHelper.cs b/DiscordPlayerCountBot/Http/AddressHelper.cs index f489726..7059cfe 100644 --- a/DiscordPlayerCountBot/Http/AddressHelper.cs +++ b/DiscordPlayerCountBot/Http/AddressHelper.cs @@ -22,4 +22,4 @@ public static async Task ResolveAddress(string address) return resolvedAddress + ":" + port; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/HttpExecuter.cs b/DiscordPlayerCountBot/Http/HttpExecuter.cs index 53305e2..3bb1db2 100644 --- a/DiscordPlayerCountBot/Http/HttpExecuter.cs +++ b/DiscordPlayerCountBot/Http/HttpExecuter.cs @@ -67,4 +67,4 @@ public void Dispose() return JsonHelper.DeserializeObject(jsonString); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/QueryParams/Base/BattleMetricsParameters.cs b/DiscordPlayerCountBot/Http/QueryParams/Base/BattleMetricsParameters.cs index 622455d..3abfe69 100644 --- a/DiscordPlayerCountBot/Http/QueryParams/Base/BattleMetricsParameters.cs +++ b/DiscordPlayerCountBot/Http/QueryParams/Base/BattleMetricsParameters.cs @@ -34,4 +34,4 @@ public override string CreateQueryParameterString() return filterString; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/QueryParams/Base/IQueryParameterBuilder.cs b/DiscordPlayerCountBot/Http/QueryParams/Base/IQueryParameterBuilder.cs index 441a36d..9a5737f 100644 --- a/DiscordPlayerCountBot/Http/QueryParams/Base/IQueryParameterBuilder.cs +++ b/DiscordPlayerCountBot/Http/QueryParams/Base/IQueryParameterBuilder.cs @@ -4,4 +4,4 @@ public interface IQueryParameterBuilder { public string CreateQueryParameterString(); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/QueryParams/Base/QueryParameterBuilder.cs b/DiscordPlayerCountBot/Http/QueryParams/Base/QueryParameterBuilder.cs index ea4f16f..80b280a 100644 --- a/DiscordPlayerCountBot/Http/QueryParams/Base/QueryParameterBuilder.cs +++ b/DiscordPlayerCountBot/Http/QueryParams/Base/QueryParameterBuilder.cs @@ -43,4 +43,4 @@ public virtual string CreateQueryParameterString() return queryString; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/QueryParams/ScumGetServerInformationQueryParams.cs b/DiscordPlayerCountBot/Http/QueryParams/ScumGetServerInformationQueryParams.cs index 09277d2..411799a 100644 --- a/DiscordPlayerCountBot/Http/QueryParams/ScumGetServerInformationQueryParams.cs +++ b/DiscordPlayerCountBot/Http/QueryParams/ScumGetServerInformationQueryParams.cs @@ -8,4 +8,4 @@ public class ScumGetServerInformationQueryParams : QueryParameterBuilder [Name("port")] public int? Port { get; set; } = null; } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Http/QueryParams/SteamGetServerListQueryParams.cs b/DiscordPlayerCountBot/Http/QueryParams/SteamGetServerListQueryParams.cs index 268dc0a..87973d4 100644 --- a/DiscordPlayerCountBot/Http/QueryParams/SteamGetServerListQueryParams.cs +++ b/DiscordPlayerCountBot/Http/QueryParams/SteamGetServerListQueryParams.cs @@ -8,4 +8,4 @@ public class SteamGetServerListQueryParams : QueryParameterBuilder [Name("filter")] public string Filter { get; set; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Json/JsonHelper.cs b/DiscordPlayerCountBot/Json/JsonHelper.cs index cfa160c..aa40e3b 100644 --- a/DiscordPlayerCountBot/Json/JsonHelper.cs +++ b/DiscordPlayerCountBot/Json/JsonHelper.cs @@ -12,4 +12,4 @@ public static class JsonHelper }); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Logging/LoggableClass.cs b/DiscordPlayerCountBot/Logging/LoggableClass.cs index 9d74133..ae48aea 100644 --- a/DiscordPlayerCountBot/Logging/LoggableClass.cs +++ b/DiscordPlayerCountBot/Logging/LoggableClass.cs @@ -38,4 +38,4 @@ public string BuildLogMessage(string? id, string label, string msg) return message + $" - {msg}"; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/Base/IServerInformationProvider.cs b/DiscordPlayerCountBot/Providers/Base/IServerInformationProvider.cs index d728094..5fcd5a8 100644 --- a/DiscordPlayerCountBot/Providers/Base/IServerInformationProvider.cs +++ b/DiscordPlayerCountBot/Providers/Base/IServerInformationProvider.cs @@ -8,4 +8,4 @@ public interface IServerInformationProvider Task GetServerInformation(BotInformation information, Dictionary applicationVariables); DataProvider GetRequiredProviderType(); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/Base/ServerInformationProvider.cs b/DiscordPlayerCountBot/Providers/Base/ServerInformationProvider.cs index 41d5c7b..95362f7 100644 --- a/DiscordPlayerCountBot/Providers/Base/ServerInformationProvider.cs +++ b/DiscordPlayerCountBot/Providers/Base/ServerInformationProvider.cs @@ -77,4 +77,4 @@ protected void HandleException(Exception e, string? id = null) public abstract DataProvider GetRequiredProviderType(); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/CFXProvider.cs b/DiscordPlayerCountBot/Providers/CFXProvider.cs index f3d9a39..7b5170e 100644 --- a/DiscordPlayerCountBot/Providers/CFXProvider.cs +++ b/DiscordPlayerCountBot/Providers/CFXProvider.cs @@ -47,4 +47,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/MinecraftProvider.cs b/DiscordPlayerCountBot/Providers/MinecraftProvider.cs index da5fe4e..973b882 100644 --- a/DiscordPlayerCountBot/Providers/MinecraftProvider.cs +++ b/DiscordPlayerCountBot/Providers/MinecraftProvider.cs @@ -41,4 +41,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/RconProvider.cs b/DiscordPlayerCountBot/Providers/RconProvider.cs index eae8924..c7e41ad 100644 --- a/DiscordPlayerCountBot/Providers/RconProvider.cs +++ b/DiscordPlayerCountBot/Providers/RconProvider.cs @@ -52,4 +52,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/ScumProvider.cs b/DiscordPlayerCountBot/Providers/ScumProvider.cs index a523e9a..bb6c8b7 100644 --- a/DiscordPlayerCountBot/Providers/ScumProvider.cs +++ b/DiscordPlayerCountBot/Providers/ScumProvider.cs @@ -46,4 +46,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/SteamProvider.cs b/DiscordPlayerCountBot/Providers/SteamProvider.cs index ce36b8c..bf450fa 100644 --- a/DiscordPlayerCountBot/Providers/SteamProvider.cs +++ b/DiscordPlayerCountBot/Providers/SteamProvider.cs @@ -63,4 +63,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Providers/SteamQueryProvider.cs b/DiscordPlayerCountBot/Providers/SteamQueryProvider.cs index c923b67..73a01d2 100644 --- a/DiscordPlayerCountBot/Providers/SteamQueryProvider.cs +++ b/DiscordPlayerCountBot/Providers/SteamQueryProvider.cs @@ -40,4 +40,4 @@ public override DataProvider GetRequiredProviderType() } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/BattleMetricsService.cs b/DiscordPlayerCountBot/Services/BattleMetricsService.cs index 0d54ee9..e046c59 100644 --- a/DiscordPlayerCountBot/Services/BattleMetricsService.cs +++ b/DiscordPlayerCountBot/Services/BattleMetricsService.cs @@ -10,4 +10,4 @@ public class BattleMetricsService : IBattleMetricsService return response?.data; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/CFXService.cs b/DiscordPlayerCountBot/Services/CFXService.cs index 6d00b04..11e44b4 100644 --- a/DiscordPlayerCountBot/Services/CFXService.cs +++ b/DiscordPlayerCountBot/Services/CFXService.cs @@ -14,4 +14,4 @@ public class CFXService : ICFXService return await httpClient.GET($"http://{address}/Info.json"); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/IBattleMetricsService.cs b/DiscordPlayerCountBot/Services/IBattleMetricsService.cs index 508b7ab..0d4c767 100644 --- a/DiscordPlayerCountBot/Services/IBattleMetricsService.cs +++ b/DiscordPlayerCountBot/Services/IBattleMetricsService.cs @@ -4,4 +4,4 @@ public interface IBattleMetricsService { public Task GetPlayerInformationAsync(string address, string token); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/ICFXService.cs b/DiscordPlayerCountBot/Services/ICFXService.cs index a9b71f1..ffc8dea 100644 --- a/DiscordPlayerCountBot/Services/ICFXService.cs +++ b/DiscordPlayerCountBot/Services/ICFXService.cs @@ -5,4 +5,4 @@ public interface ICFXService public Task GetServerInformationAsync(string address); public Task?> GetPlayerInformationAsync(string address); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/IMinecraftService.cs b/DiscordPlayerCountBot/Services/IMinecraftService.cs index fa35765..1f5c09f 100644 --- a/DiscordPlayerCountBot/Services/IMinecraftService.cs +++ b/DiscordPlayerCountBot/Services/IMinecraftService.cs @@ -4,4 +4,4 @@ public interface IMinecraftService { public Task GetMinecraftServerInformationAsync(string address, int port); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/IScumService.cs b/DiscordPlayerCountBot/Services/IScumService.cs index a907758..d731d7f 100644 --- a/DiscordPlayerCountBot/Services/IScumService.cs +++ b/DiscordPlayerCountBot/Services/IScumService.cs @@ -4,4 +4,4 @@ public interface IScumService { public Task GetPlayerInformationAsync(string address, int port); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/ISteamService.cs b/DiscordPlayerCountBot/Services/ISteamService.cs index d70ae25..aa03f0e 100644 --- a/DiscordPlayerCountBot/Services/ISteamService.cs +++ b/DiscordPlayerCountBot/Services/ISteamService.cs @@ -4,4 +4,4 @@ public interface ISteamService { public Task GetSteamApiResponse(string address, int port, string token); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/MinecraftService.cs b/DiscordPlayerCountBot/Services/MinecraftService.cs index 7f66d98..e22684a 100644 --- a/DiscordPlayerCountBot/Services/MinecraftService.cs +++ b/DiscordPlayerCountBot/Services/MinecraftService.cs @@ -8,4 +8,4 @@ public class MinecraftService : IMinecraftService return await httpClient.GET($"https://api.mcsrvstat.us/2/{address}:{port}"); } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/IRconService.cs b/DiscordPlayerCountBot/Services/Rcon/IRconService.cs index 68a8fa9..a39995f 100644 --- a/DiscordPlayerCountBot/Services/Rcon/IRconService.cs +++ b/DiscordPlayerCountBot/Services/Rcon/IRconService.cs @@ -6,4 +6,4 @@ public interface IRconService { public Task GetRconResponse(string address, int port, string authorizationToken, RconServiceType serviceType); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/Praser/ArkInformationParser.cs b/DiscordPlayerCountBot/Services/Rcon/Praser/ArkInformationParser.cs index 73e6f0f..150461d 100644 --- a/DiscordPlayerCountBot/Services/Rcon/Praser/ArkInformationParser.cs +++ b/DiscordPlayerCountBot/Services/Rcon/Praser/ArkInformationParser.cs @@ -26,4 +26,4 @@ public BaseViewModel Parse(string message) }; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/Praser/CSGOInformationParser.cs b/DiscordPlayerCountBot/Services/Rcon/Praser/CSGOInformationParser.cs index 10ab660..5a2d868 100644 --- a/DiscordPlayerCountBot/Services/Rcon/Praser/CSGOInformationParser.cs +++ b/DiscordPlayerCountBot/Services/Rcon/Praser/CSGOInformationParser.cs @@ -28,4 +28,4 @@ public BaseViewModel Parse(string message) }; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/Praser/IRconInformationParser.cs b/DiscordPlayerCountBot/Services/Rcon/Praser/IRconInformationParser.cs index 95dd2a2..6d4fb2d 100644 --- a/DiscordPlayerCountBot/Services/Rcon/Praser/IRconInformationParser.cs +++ b/DiscordPlayerCountBot/Services/Rcon/Praser/IRconInformationParser.cs @@ -4,4 +4,4 @@ public interface IRconInformationParser { public BaseViewModel Parse(string message); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/Praser/MinecraftInformationParser.cs b/DiscordPlayerCountBot/Services/Rcon/Praser/MinecraftInformationParser.cs index 1d833cd..e112ce3 100644 --- a/DiscordPlayerCountBot/Services/Rcon/Praser/MinecraftInformationParser.cs +++ b/DiscordPlayerCountBot/Services/Rcon/Praser/MinecraftInformationParser.cs @@ -27,4 +27,4 @@ public BaseViewModel Parse(string message) }; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/RconService.cs b/DiscordPlayerCountBot/Services/Rcon/RconService.cs index db281d6..09ae98d 100644 --- a/DiscordPlayerCountBot/Services/Rcon/RconService.cs +++ b/DiscordPlayerCountBot/Services/Rcon/RconService.cs @@ -43,4 +43,4 @@ public async Task GetRconResponse(string address, int port, strin return viewModel; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/RconServiceInformation.cs b/DiscordPlayerCountBot/Services/Rcon/RconServiceInformation.cs index 82f26d3..79763fd 100644 --- a/DiscordPlayerCountBot/Services/Rcon/RconServiceInformation.cs +++ b/DiscordPlayerCountBot/Services/Rcon/RconServiceInformation.cs @@ -9,4 +9,4 @@ public interface IRconServiceInformation public abstract string GetPlayerListCommand(); public abstract IRconInformationParser GetParser(); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/ArkRconServiceInformation.cs b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/ArkRconServiceInformation.cs index b4ce406..ebc3df0 100644 --- a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/ArkRconServiceInformation.cs +++ b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/ArkRconServiceInformation.cs @@ -20,4 +20,4 @@ public string GetPlayerListCommand() return "listplayers"; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/CSGORconServiceInformation.cs b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/CSGORconServiceInformation.cs index 99f3ee1..5d7ba19 100644 --- a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/CSGORconServiceInformation.cs +++ b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/CSGORconServiceInformation.cs @@ -20,4 +20,4 @@ public string GetPlayerListCommand() return "status"; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/MinecraftRconServiceInformation.cs b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/MinecraftRconServiceInformation.cs index 9270f6c..722aed9 100644 --- a/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/MinecraftRconServiceInformation.cs +++ b/DiscordPlayerCountBot/Services/Rcon/ServiceInformation/MinecraftRconServiceInformation.cs @@ -20,4 +20,4 @@ public string GetPlayerListCommand() return "list"; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/ScumService.cs b/DiscordPlayerCountBot/Services/ScumService.cs index 7aa9dde..3df83f2 100644 --- a/DiscordPlayerCountBot/Services/ScumService.cs +++ b/DiscordPlayerCountBot/Services/ScumService.cs @@ -14,4 +14,4 @@ public class ScumService : IScumService return response; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/SteamQuery/ISteamQueryService.cs b/DiscordPlayerCountBot/Services/SteamQuery/ISteamQueryService.cs index 618cfc9..7b9abd7 100644 --- a/DiscordPlayerCountBot/Services/SteamQuery/ISteamQueryService.cs +++ b/DiscordPlayerCountBot/Services/SteamQuery/ISteamQueryService.cs @@ -4,4 +4,4 @@ internal interface ISteamQueryService { public Task GetQueryResponse(string address, int port); } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/SteamQuery/SteamQueryService.cs b/DiscordPlayerCountBot/Services/SteamQuery/SteamQueryService.cs index 71f6bdb..add7916 100644 --- a/DiscordPlayerCountBot/Services/SteamQuery/SteamQueryService.cs +++ b/DiscordPlayerCountBot/Services/SteamQuery/SteamQueryService.cs @@ -26,4 +26,4 @@ public async Task GetQueryResponse(string address, int port) return model; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/Services/SteamService.cs b/DiscordPlayerCountBot/Services/SteamService.cs index 4f50525..b2b57fa 100644 --- a/DiscordPlayerCountBot/Services/SteamService.cs +++ b/DiscordPlayerCountBot/Services/SteamService.cs @@ -21,4 +21,4 @@ public class SteamService : LoggableClass, ISteamService return data; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/UpdateController.cs b/DiscordPlayerCountBot/UpdateController.cs index 0196eb4..c1862f2 100644 --- a/DiscordPlayerCountBot/UpdateController.cs +++ b/DiscordPlayerCountBot/UpdateController.cs @@ -114,4 +114,4 @@ public async void OnProcessExit(object? sender, EventArgs e) } } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/ViewModels/BaseViewModel.cs b/DiscordPlayerCountBot/ViewModels/BaseViewModel.cs index ed79494..92a2d8a 100644 --- a/DiscordPlayerCountBot/ViewModels/BaseViewModel.cs +++ b/DiscordPlayerCountBot/ViewModels/BaseViewModel.cs @@ -48,4 +48,4 @@ public string ReplaceTagsWithValues(string? format, bool useNameAsLabel, string return status; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/ViewModels/CFX/CFXViewModel.cs b/DiscordPlayerCountBot/ViewModels/CFX/CFXViewModel.cs index 68f274e..47ba042 100644 --- a/DiscordPlayerCountBot/ViewModels/CFX/CFXViewModel.cs +++ b/DiscordPlayerCountBot/ViewModels/CFX/CFXViewModel.cs @@ -3,4 +3,4 @@ public class CFXViewModel : BaseViewModel { } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/ViewModels/Minecraft/MinecraftViewModel.cs b/DiscordPlayerCountBot/ViewModels/Minecraft/MinecraftViewModel.cs index 902534c..fea96cd 100644 --- a/DiscordPlayerCountBot/ViewModels/Minecraft/MinecraftViewModel.cs +++ b/DiscordPlayerCountBot/ViewModels/Minecraft/MinecraftViewModel.cs @@ -4,4 +4,4 @@ public class MinecraftViewModel : BaseViewModel { public string Version { get; set; } } -} +} \ No newline at end of file diff --git a/DiscordPlayerCountBot/ViewModels/Steam/SteamViewModel.cs b/DiscordPlayerCountBot/ViewModels/Steam/SteamViewModel.cs index 4bd8ce2..f411f04 100644 --- a/DiscordPlayerCountBot/ViewModels/Steam/SteamViewModel.cs +++ b/DiscordPlayerCountBot/ViewModels/Steam/SteamViewModel.cs @@ -7,4 +7,4 @@ public class SteamViewModel : BaseViewModel public string Time { get; set; } public string SunMoon { get; set; } } -} +} \ No newline at end of file