Updated .net core to 1.1, fixed #782
This commit is contained in:
parent
0e1f644d7f
commit
1df4aa7770
@ -593,10 +593,10 @@ namespace NadekoBot.Modules.Administration
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
[RequireContext(ContextType.Guild)]
|
||||
[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 channel.SendMessageAsync($"❗️Removed text channel **{channel.Name}**, ID `{channel.Id}`.").ConfigureAwait(false);
|
||||
await toDelete.DeleteAsync().ConfigureAwait(false);
|
||||
await umsg.Channel.SendMessageAsync($"❗️Removed text channel **{toDelete.Name}**, ID `{toDelete.Id}`.").ConfigureAwait(false);
|
||||
}
|
||||
|
||||
[NadekoCommand, Usage, Description, Aliases]
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"ClientId": 123123123,
|
||||
"BotId": null,
|
||||
"Token": "",
|
||||
"Token": "MTE5Nzc3MDIxMzE5NTc3NjEw.CxK2Og.N4u_RpZws88zmXWF16mQaQUSphI",
|
||||
"OwnerIds": [
|
||||
0
|
||||
],
|
||||
|
@ -17,38 +17,37 @@
|
||||
"define": []
|
||||
},
|
||||
"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",
|
||||
"Microsoft.EntityFrameworkCore": "1.0.0",
|
||||
"Microsoft.EntityFrameworkCore.Design": "1.0.0-preview2-final",
|
||||
"Microsoft.EntityFrameworkCore.Sqlite": "1.0.0",
|
||||
"CoreCLR-NCalc": "2.1.2",
|
||||
"ImageProcessorCore": "1.0.0-alpha-1021",
|
||||
"Discord.Net.Commands": {
|
||||
"target": "project"
|
||||
},
|
||||
"Discord.Net": {
|
||||
"target": "project"
|
||||
},
|
||||
"System.Xml.XPath": "4.0.1",
|
||||
"Microsoft.Extensions.Configuration": "1.0.0",
|
||||
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
|
||||
"Microsoft.Extensions.Configuration.Json": "1.0.0"
|
||||
"Google.Apis.Urlshortener.v1": "1.19.0.138",
|
||||
"Google.Apis.YouTube.v3": "1.19.0.655",
|
||||
"ImageProcessorCore": "1.0.0-alpha1095",
|
||||
"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": {
|
||||
"Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
|
||||
"Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final"
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp1.0": {
|
||||
|
Loading…
Reference in New Issue
Block a user