diff --git a/src/NadekoBot/Modules/Gambling/Commands/DiceRollCommand.cs b/src/NadekoBot/Modules/Gambling/Commands/DiceRollCommand.cs index dc075964..39c1622b 100644 --- a/src/NadekoBot/Modules/Gambling/Commands/DiceRollCommand.cs +++ b/src/NadekoBot/Modules/Gambling/Commands/DiceRollCommand.cs @@ -1,6 +1,6 @@ using Discord; using Discord.Commands; -using ImageSharp; +using ImageProcessorCore; using NadekoBot.Attributes; using NadekoBot.Extensions; using NadekoBot.Services; diff --git a/src/NadekoBot/Modules/Gambling/Commands/DrawCommand.cs b/src/NadekoBot/Modules/Gambling/Commands/DrawCommand.cs index eca29d75..a5a20e6e 100644 --- a/src/NadekoBot/Modules/Gambling/Commands/DrawCommand.cs +++ b/src/NadekoBot/Modules/Gambling/Commands/DrawCommand.cs @@ -1,6 +1,6 @@ using Discord; using Discord.Commands; -using ImageSharp; +using ImageProcessorCore; using NadekoBot.Attributes; using NadekoBot.Extensions; using NadekoBot.Modules.Gambling.Models; diff --git a/src/NadekoBot/Modules/Gambling/Commands/FlipCoinCommand.cs b/src/NadekoBot/Modules/Gambling/Commands/FlipCoinCommand.cs index 0ea7bd5e..8a85f700 100644 --- a/src/NadekoBot/Modules/Gambling/Commands/FlipCoinCommand.cs +++ b/src/NadekoBot/Modules/Gambling/Commands/FlipCoinCommand.cs @@ -1,6 +1,6 @@ using Discord; using Discord.Commands; -using ImageSharp; +using ImageProcessorCore; using NadekoBot.Attributes; using NadekoBot.Extensions; using NadekoBot.Services; diff --git a/src/NadekoBot/Modules/Searches/Searches.cs b/src/NadekoBot/Modules/Searches/Searches.cs index 47429830..b460d08a 100644 --- a/src/NadekoBot/Modules/Searches/Searches.cs +++ b/src/NadekoBot/Modules/Searches/Searches.cs @@ -13,7 +13,7 @@ using System.Text.RegularExpressions; using System.Net; using NadekoBot.Modules.Searches.Models; using System.Collections.Generic; -using ImageSharp; +using ImageProcessorCore; using NadekoBot.Extensions; using System.IO; using NadekoBot.Modules.Searches.Commands.OMDB; @@ -434,7 +434,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】 var green = Convert.ToInt32(color.Substring(2, 2), 16); var blue = Convert.ToInt32(color.Substring(4, 2), 16); - img.BackgroundColor(new ImageSharp.Color(color)); + img.BackgroundColor(new ImageProcessorCore.Color(color)); await channel.SendFileAsync(img.ToStream(), $"{color}.png"); } diff --git a/src/NadekoBot/_Extensions/Extensions.cs b/src/NadekoBot/_Extensions/Extensions.cs index 166e41b0..04159315 100644 --- a/src/NadekoBot/_Extensions/Extensions.cs +++ b/src/NadekoBot/_Extensions/Extensions.cs @@ -1,6 +1,6 @@ using Discord; using Discord.WebSocket; -using ImageSharp; +using ImageProcessorCore; using Newtonsoft.Json; using System; using System.Collections.Concurrent; diff --git a/src/NadekoBot/project.json b/src/NadekoBot/project.json index 12c76009..7017f62b 100644 --- a/src/NadekoBot/project.json +++ b/src/NadekoBot/project.json @@ -27,7 +27,7 @@ }, "Google.Apis.Urlshortener.v1": "1.19.0.138", "Google.Apis.YouTube.v3": "1.19.0.655", - "ImageSharp": "1.0.0-alpha-000079", + "ImageProcessorCore": "1.0.0-alpha1095", "Microsoft.EntityFrameworkCore": "1.1.0", "Microsoft.EntityFrameworkCore.Design": "1.1.0", "Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",