From 2ce4cb0f8cd0863de0ae5584578a68bd05631bc0 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 4 Sep 2016 17:51:08 +0200 Subject: [PATCH] Updated discord.net --- discord.net | 2 +- .../Administration/Commands/LogCommand - Copy.cs | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/discord.net b/discord.net index 7d4f54ee..b77ec35e 160000 --- a/discord.net +++ b/discord.net @@ -1 +1 @@ -Subproject commit 7d4f54ee17ae0b5c962036501b46d986c741cb29 +Subproject commit b77ec35e2e2a7049de308af5d185e9815482f117 diff --git a/src/NadekoBot/Modules/Administration/Commands/LogCommand - Copy.cs b/src/NadekoBot/Modules/Administration/Commands/LogCommand - Copy.cs index 6940324b..953951c0 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand - Copy.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand - Copy.cs @@ -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; + + } + } } } \ No newline at end of file