From 0587189963e73bf358fa5822305b35adc5e7873e Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Mon, 15 May 2017 14:32:40 +0200 Subject: [PATCH] >gc is bot owner only on public nadeko now --- .../Modules/Games/Commands/PlantAndPickCommands.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs b/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs index 44eb474a..bffa5624 100644 --- a/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs +++ b/src/NadekoBot/Modules/Games/Commands/PlantAndPickCommands.cs @@ -181,10 +181,13 @@ namespace NadekoBot.Modules.Games return old; }); } -#if !GLOBAL_NADEKO + [NadekoCommand, Usage, Description, Aliases] [RequireContext(ContextType.Guild)] [RequireUserPermission(GuildPermission.ManageMessages)] +#if GLOBAL_NADEKO + [OwnerOnly] +#endif public async Task GenCurrency() { var channel = (ITextChannel)Context.Channel; @@ -218,7 +221,6 @@ namespace NadekoBot.Modules.Games await ReplyConfirmLocalized("curgen_disabled").ConfigureAwait(false); } } -#endif private static KeyValuePair> GetRandomCurrencyImage() {