diff --git a/src/NadekoBot/DataStructures/PlatformHelper.cs b/src/NadekoBot/DataStructures/PlatformHelper.cs index d0b5a4ba..8c523ec9 100644 --- a/src/NadekoBot/DataStructures/PlatformHelper.cs +++ b/src/NadekoBot/DataStructures/PlatformHelper.cs @@ -2,14 +2,14 @@ namespace ConcurrentCollections { - internal static class PlatformHelper + public static class PlatformHelper { private const int ProcessorCountRefreshIntervalMs = 30000; private static volatile int _processorCount; private static volatile int _lastProcessorCountRefreshTicks; - internal static int ProcessorCount { + public static int ProcessorCount { get { var now = Environment.TickCount; if (_processorCount == 0 || (now - _lastProcessorCountRefreshTicks) >= ProcessorCountRefreshIntervalMs) diff --git a/src/NadekoBot/Modules/Administration/Commands/Migration/0_9..cs b/src/NadekoBot/Modules/Administration/Commands/Migration/0_9..cs index 7606cf82..28e5d949 100644 --- a/src/NadekoBot/Modules/Administration/Commands/Migration/0_9..cs +++ b/src/NadekoBot/Modules/Administration/Commands/Migration/0_9..cs @@ -162,7 +162,7 @@ namespace NadekoBot.Modules.Administration.Commands.Migration } } - internal class ServerSpecificConfig + public class ServerSpecificConfig { public bool VoicePlusTextEnabled { get; set; } public bool SendPrivateMessageOnMention { get; set; } diff --git a/src/NadekoBot/Modules/Music/Classes/MusicControls.cs b/src/NadekoBot/Modules/Music/Classes/MusicControls.cs index 53a2c736..6cc3560d 100644 --- a/src/NadekoBot/Modules/Music/Classes/MusicControls.cs +++ b/src/NadekoBot/Modules/Music/Classes/MusicControls.cs @@ -245,7 +245,7 @@ namespace NadekoBot.Modules.Music.Classes }); } - internal async Task UpdateSongDurationsAsync() + public async Task UpdateSongDurationsAsync() { var curSong = CurrentSong; var toUpdate = playlist.Where(s => s.SongInfo.ProviderType == MusicType.Normal && diff --git a/src/NadekoBot/NadekoBot.xproj b/src/NadekoBot/NadekoBot.xproj index 901e69fd..902d10fa 100644 --- a/src/NadekoBot/NadekoBot.xproj +++ b/src/NadekoBot/NadekoBot.xproj @@ -18,5 +18,8 @@ + + + \ No newline at end of file diff --git a/src/NadekoBot/Services/CleverBotApi/Cleverbot.cs b/src/NadekoBot/Services/CleverBotApi/Cleverbot.cs index 328c0500..5599d7b0 100644 --- a/src/NadekoBot/Services/CleverBotApi/Cleverbot.cs +++ b/src/NadekoBot/Services/CleverBotApi/Cleverbot.cs @@ -22,7 +22,7 @@ using System.Threading.Tasks; namespace Services.CleverBotApi { - internal class Cleverbot : ChatterBot + public class Cleverbot : ChatterBot { private readonly int endIndex; private readonly string baseUrl; @@ -41,7 +41,7 @@ namespace Services.CleverBotApi } } - internal class CleverbotSession : ChatterBotSession + public class CleverbotSession : ChatterBotSession { private readonly int endIndex; private readonly string url; diff --git a/src/NadekoBot/Services/CleverBotApi/Pandorabots.cs b/src/NadekoBot/Services/CleverBotApi/Pandorabots.cs index 384b2e63..0d1d8246 100644 --- a/src/NadekoBot/Services/CleverBotApi/Pandorabots.cs +++ b/src/NadekoBot/Services/CleverBotApi/Pandorabots.cs @@ -22,7 +22,7 @@ using System.Threading.Tasks; namespace Services.CleverBotApi { - internal class Pandorabots : ChatterBot + public class Pandorabots : ChatterBot { private readonly string botid; @@ -37,7 +37,7 @@ namespace Services.CleverBotApi } } - internal class PandorabotsSession : ChatterBotSession + public class PandorabotsSession : ChatterBotSession { private readonly IDictionary vars; diff --git a/src/NadekoBot/Services/CleverBotApi/Utils.cs b/src/NadekoBot/Services/CleverBotApi/Utils.cs index 3f4596a7..8954afc6 100644 --- a/src/NadekoBot/Services/CleverBotApi/Utils.cs +++ b/src/NadekoBot/Services/CleverBotApi/Utils.cs @@ -28,7 +28,7 @@ using System.Xml.XPath; namespace Services.CleverBotApi { - internal static class Utils + public static class Utils { public static string ParametersToWWWFormURLEncoded(IDictionary parameters) {