init music service
This commit is contained in:
@@ -65,7 +65,9 @@ namespace NadekoBot
|
|||||||
ErrorColor = new Color(Convert.ToUInt32(BotConfig.ErrorColor, 16));
|
ErrorColor = new Color(Convert.ToUInt32(BotConfig.ErrorColor, 16));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Google = new GoogleApiService();
|
||||||
GreetSettingsService = new GreetSettingsService();
|
GreetSettingsService = new GreetSettingsService();
|
||||||
|
MusicService = new MusicService(Google);
|
||||||
|
|
||||||
//ImageSharp.Configuration.Default.AddImageFormat(new ImageSharp.Formats.PngFormat());
|
//ImageSharp.Configuration.Default.AddImageFormat(new ImageSharp.Formats.PngFormat());
|
||||||
//ImageSharp.Configuration.Default.AddImageFormat(new ImageSharp.Formats.JpegFormat());
|
//ImageSharp.Configuration.Default.AddImageFormat(new ImageSharp.Formats.JpegFormat());
|
||||||
@@ -101,7 +103,6 @@ namespace NadekoBot
|
|||||||
CaseSensitiveCommands = false,
|
CaseSensitiveCommands = false,
|
||||||
DefaultRunMode = RunMode.Sync
|
DefaultRunMode = RunMode.Sync
|
||||||
});
|
});
|
||||||
Google = new GoogleApiService();
|
|
||||||
CommandHandler = new CommandHandler(Client, CommandService);
|
CommandHandler = new CommandHandler(Client, CommandService);
|
||||||
Stats = new StatsService(Client, CommandHandler);
|
Stats = new StatsService(Client, CommandHandler);
|
||||||
Images = await ImagesService.Create().ConfigureAwait(false);
|
Images = await ImagesService.Create().ConfigureAwait(false);
|
||||||
|
Reference in New Issue
Block a user