ImageProcessorcore -> ImageSharp
This commit is contained in:
parent
9397499b42
commit
0bda2bad99
@ -1,6 +1,6 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using ImageProcessorCore;
|
using ImageSharp;
|
||||||
using NadekoBot.Attributes;
|
using NadekoBot.Attributes;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using NadekoBot.Services;
|
using NadekoBot.Services;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using ImageProcessorCore;
|
using ImageSharp;
|
||||||
using NadekoBot.Attributes;
|
using NadekoBot.Attributes;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using NadekoBot.Modules.Gambling.Models;
|
using NadekoBot.Modules.Gambling.Models;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.Commands;
|
using Discord.Commands;
|
||||||
using ImageProcessorCore;
|
using ImageSharp;
|
||||||
using NadekoBot.Attributes;
|
using NadekoBot.Attributes;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using NadekoBot.Services;
|
using NadekoBot.Services;
|
||||||
|
@ -13,7 +13,7 @@ using System.Text.RegularExpressions;
|
|||||||
using System.Net;
|
using System.Net;
|
||||||
using NadekoBot.Modules.Searches.Models;
|
using NadekoBot.Modules.Searches.Models;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using ImageProcessorCore;
|
using ImageSharp;
|
||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using NadekoBot.Modules.Searches.Commands.OMDB;
|
using NadekoBot.Modules.Searches.Commands.OMDB;
|
||||||
@ -434,7 +434,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】
|
|||||||
var green = Convert.ToInt32(color.Substring(2, 2), 16);
|
var green = Convert.ToInt32(color.Substring(2, 2), 16);
|
||||||
var blue = Convert.ToInt32(color.Substring(4, 2), 16);
|
var blue = Convert.ToInt32(color.Substring(4, 2), 16);
|
||||||
|
|
||||||
img.BackgroundColor(new ImageProcessorCore.Color(color));
|
img.BackgroundColor(new ImageSharp.Color(color));
|
||||||
|
|
||||||
await channel.SendFileAsync(img.ToStream(), $"{color}.png");
|
await channel.SendFileAsync(img.ToStream(), $"{color}.png");
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
using Discord;
|
using Discord;
|
||||||
using Discord.WebSocket;
|
using Discord.WebSocket;
|
||||||
using ImageProcessorCore;
|
using ImageSharp;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
},
|
},
|
||||||
"Google.Apis.Urlshortener.v1": "1.19.0.138",
|
"Google.Apis.Urlshortener.v1": "1.19.0.138",
|
||||||
"Google.Apis.YouTube.v3": "1.19.0.655",
|
"Google.Apis.YouTube.v3": "1.19.0.655",
|
||||||
"ImageProcessorCore": "1.0.0-alpha1095",
|
"ImageSharp": "1.0.0-alpha-000079",
|
||||||
"Microsoft.EntityFrameworkCore": "1.1.0",
|
"Microsoft.EntityFrameworkCore": "1.1.0",
|
||||||
"Microsoft.EntityFrameworkCore.Design": "1.1.0",
|
"Microsoft.EntityFrameworkCore.Design": "1.1.0",
|
||||||
"Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",
|
"Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user