Fixed pokemon module

This commit is contained in:
Master Kwoth 2017-06-12 11:30:31 +02:00
parent 628963f1a2
commit 87236661b3

View File

@ -26,6 +26,7 @@ using NadekoBot.Services.Permissions;
using NadekoBot.Services.Utility; using NadekoBot.Services.Utility;
using NadekoBot.Services.Help; using NadekoBot.Services.Help;
using System.IO; using System.IO;
using NadekoBot.Services.Pokemon;
namespace NadekoBot namespace NadekoBot
{ {
@ -161,6 +162,10 @@ namespace NadekoBot
var logCommandService = new LogCommandService(Client, Strings, AllGuildConfigs, Db, muteService, protectionService); var logCommandService = new LogCommandService(Client, Strings, AllGuildConfigs, Db, muteService, protectionService);
#endregion #endregion
#region pokemon
var pokemonService = new PokemonService();
#endregion
//initialize Services //initialize Services
Services = new NServiceProvider.ServiceProviderBuilder() Services = new NServiceProvider.ServiceProviderBuilder()
@ -210,6 +215,7 @@ namespace NadekoBot
.Add(cmdcdsService) .Add(cmdcdsService)
.Add(filterService) .Add(filterService)
.Add(globalPermsService) .Add(globalPermsService)
.Add<PokemonService>(pokemonService)
.Build(); .Build();
CommandHandler.AddServices(Services); CommandHandler.AddServices(Services);