Aliasing fixed, finishing up almost

This commit is contained in:
Master Kwoth
2017-05-30 01:53:16 +02:00
parent 6d27271d4a
commit bb897fc43d
14 changed files with 182 additions and 151 deletions

View File

@@ -15,8 +15,7 @@ namespace NadekoBot.Modules
public readonly string Prefix;
public readonly string ModuleTypeName;
public readonly string LowerModuleTypeName;
//todo :thinking:
public NadekoStrings _strings { get; set; }
public ILocalization _localization { get; set; }

View File

@@ -19,11 +19,11 @@ namespace NadekoBot.Modules.Utility
[Group]
public class CommandMapCommands : NadekoSubmodule
{
private readonly UtilityService _service;
private readonly CommandMapService _service;
private readonly DbService _db;
private readonly DiscordShardedClient _client;
public CommandMapCommands(UtilityService service, DbService db, DiscordShardedClient client)
public CommandMapCommands(CommandMapService service, DbService db, DiscordShardedClient client)
{
_service = service;
_db = db;

View File

@@ -14,9 +14,9 @@ namespace NadekoBot.Modules.Utility
[Group]
public class CrossServerTextChannel : NadekoSubmodule
{
private readonly UtilityService _service;
private readonly CrossServerTextService _service;
public CrossServerTextChannel(UtilityService service)
public CrossServerTextChannel(CrossServerTextService service)
{
_service = service;
}

View File

@@ -16,25 +16,23 @@ using System.Collections.Generic;
using Newtonsoft.Json;
using Discord.WebSocket;
using System.Diagnostics;
using NadekoBot.Modules;
using Color = Discord.Color;
using NadekoBot.Services;
namespace NadekoBot.Services.Utility
namespace NadekoBot.Modules.Utility
{
public partial class Utility : NadekoTopLevelModule
{
private static ConcurrentDictionary<ulong, Timer> _rotatingRoleColors = new ConcurrentDictionary<ulong, Timer>();
private readonly DiscordShardedClient _client;
private readonly IStatsService _stats;
private readonly UtilityService _service;
//private readonly MusicService _music;
private readonly IBotCredentials _creds;
public Utility(UtilityService service, DiscordShardedClient client, IStatsService stats, IBotCredentials creds)
public Utility(DiscordShardedClient client, IStatsService stats, IBotCredentials creds)
{
_client = client;
_stats = stats;
_service = service;
//_music = music;
_creds = creds;
}