Updated discord.net

This commit is contained in:
Kwoth 2016-09-04 17:51:08 +02:00
parent 732394a366
commit 2ce4cb0f8c
2 changed files with 11 additions and 1 deletions

@ -1 +1 @@
Subproject commit 7d4f54ee17ae0b5c962036501b46d986c741cb29
Subproject commit b77ec35e2e2a7049de308af5d185e9815482f117

View File

@ -1,6 +1,7 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Attributes;
using NadekoBot.Extensions;
using System;
using System.Collections.Concurrent;
@ -32,6 +33,15 @@ namespace NadekoBot.Modules.Administration
return Task.CompletedTask;
}
[LocalizedCommand, LocalizedDescription, LocalizedSummary, LocalizedAlias]
[RequireContext(ContextType.Guild)]
public async Task LogServer(IUserMessage msg)
{
var channel = (ITextChannel)msg.Channel;
}
}
}
}