small changes

This commit is contained in:
Master Kwoth 2017-07-22 07:57:17 +02:00
parent f1b348406d
commit 1aa86937c8
3 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ namespace NadekoBot.Modules.Administration.Services
if (gUser == null)
return;
var game = gUser.Game?.Name.TrimTo(50).ToLowerInvariant();
var game = gUser.Game?.Name?.TrimTo(50).ToLowerInvariant();
if (oldState.VoiceChannel == newState.VoiceChannel ||
newState.VoiceChannel == null)

View File

@ -64,8 +64,8 @@
<PackageReference Include="Google.Apis.Urlshortener.v1" Version="1.19.0.138" />
<PackageReference Include="Google.Apis.YouTube.v3" Version="1.20.0.701" />
<PackageReference Include="Google.Apis.Customsearch.v1" Version="1.20.0.466" />
<PackageReference Include="ImageSharp" Version="1.0.0-alpha9-00171" />
<PackageReference Include="ImageSharp.Drawing" Version="1.0.0-alpha9-00166" />
<PackageReference Include="ImageSharp" Version="1.0.0-alpha9-00173" />
<PackageReference Include="ImageSharp.Drawing" Version="1.0.0-alpha9-00168" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="1.1.1" />

View File

@ -199,7 +199,7 @@ namespace NadekoBot.Extensions
return await ownerPrivate.SendMessageAsync(message).ConfigureAwait(false);
}
public static Image<Rgba32> Merge(this IEnumerable<ImageSharp.Image<Rgba32>> images)
public static Image<Rgba32> Merge(this IEnumerable<Image<Rgba32>> images)
{
var imgs = images.ToArray();