From 88e1f15d6e3212140378e7e3e2aeab869fd51446 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sat, 24 Dec 2016 14:13:48 +0100 Subject: [PATCH] Log commands are owner only --- src/NadekoBot/Modules/Administration/Commands/LogCommand.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs index 374b97d5..8e2d76b8 100644 --- a/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs +++ b/src/NadekoBot/Modules/Administration/Commands/LogCommand.cs @@ -736,6 +736,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Usage, Description, Aliases] [RequireContext(ContextType.Guild)] [RequirePermission(GuildPermission.Administrator)] + [OwnerOnly] public async Task LogEvents(IUserMessage imsg) { await imsg.Channel.SendConfirmAsync("Log events you can subscribe to:", String.Join(", ", Enum.GetNames(typeof(LogType)).Cast())); @@ -744,6 +745,7 @@ namespace NadekoBot.Modules.Administration [NadekoCommand, Usage, Description, Aliases] [RequireContext(ContextType.Guild)] [RequirePermission(GuildPermission.Administrator)] + [OwnerOnly] public async Task Log(IUserMessage imsg, LogType type) { var channel = (ITextChannel)imsg.Channel;