Updated .net core to 1.1, fixed #782

This commit is contained in:
Kwoth 2016-11-20 12:11:23 +01:00
parent 0e1f644d7f
commit 1df4aa7770
3 changed files with 25 additions and 26 deletions

View File

@ -593,10 +593,10 @@ namespace NadekoBot.Modules.Administration
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
[RequirePermission(GuildPermission.ManageChannels)] [RequirePermission(GuildPermission.ManageChannels)]
public async Task DelTxtChanl(IUserMessage umsg, [Remainder] ITextChannel channel) public async Task DelTxtChanl(IUserMessage umsg, [Remainder] ITextChannel toDelete)
{ {
await channel.DeleteAsync().ConfigureAwait(false); await toDelete.DeleteAsync().ConfigureAwait(false);
await channel.SendMessageAsync($"❗Removed text channel **{channel.Name}**, ID `{channel.Id}`.").ConfigureAwait(false); await umsg.Channel.SendMessageAsync($"❗Removed text channel **{toDelete.Name}**, ID `{toDelete.Id}`.").ConfigureAwait(false);
} }
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]

View File

@ -1,7 +1,7 @@
{ {
"ClientId": 123123123, "ClientId": 123123123,
"BotId": null, "BotId": null,
"Token": "", "Token": "MTE5Nzc3MDIxMzE5NTc3NjEw.CxK2Og.N4u_RpZws88zmXWF16mQaQUSphI",
"OwnerIds": [ "OwnerIds": [
0 0
], ],

View File

@ -17,38 +17,37 @@
"define": [] "define": []
}, },
"dependencies": { "dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
},
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.0.0",
"Microsoft.Extensions.PlatformAbstractions": "1.0.0",
"Newtonsoft.Json": "9.0.1",
"Microsoft.Extensions.DependencyInjection": "1.0.0",
"Google.Apis.YouTube.v3": "1.17.0.582",
"Google.Apis.Urlshortener.v1": "1.17.0.138",
"Google.Apis.Customsearch.v1": "1.17.0.466",
"System.Diagnostics.Contracts": "4.0.1",
"NLog": "4.4.0-betaV15",
"VideoLibrary": "1.3.4", "VideoLibrary": "1.3.4",
"Microsoft.EntityFrameworkCore": "1.0.0",
"Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final",
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
"CoreCLR-NCalc": "2.1.2", "CoreCLR-NCalc": "2.1.2",
"ImageProcessorCore": "1.0.0-alpha-1021",
"Discord.Net.Commands": { "Discord.Net.Commands": {
"target": "project" "target": "project"
}, },
"Discord.Net": { "Discord.Net": {
"target": "project" "target": "project"
}, },
"System.Xml.XPath": "4.0.1", "Google.Apis.Urlshortener.v1": "1.19.0.138",
"Microsoft.Extensions.Configuration": "1.0.0", "Google.Apis.YouTube.v3": "1.19.0.655",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0", "ImageProcessorCore": "1.0.0-alpha1095",
"Microsoft.Extensions.Configuration.Json": "1.0.0" "Microsoft.EntityFrameworkCore": "1.1.0",
"Microsoft.EntityFrameworkCore.Design": "1.1.0",
"Microsoft.EntityFrameworkCore.Sqlite": "1.1.0",
"Microsoft.Extensions.Configuration": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.DependencyInjection": "1.1.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "1.1.0",
"Microsoft.Extensions.PlatformAbstractions": "1.1.0",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.1.0"
},
"Newtonsoft.Json": "9.0.2-beta1",
"NLog": "5.0.0-beta03",
"System.Diagnostics.Contracts": "4.3.0",
"System.Xml.XPath": "4.3.0"
}, },
"tools": { "tools": {
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final" "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final"
}, },
"frameworks": { "frameworks": {
"netcoreapp1.0": { "netcoreapp1.0": {