>gc is bot owner only on public nadeko now
This commit is contained in:
parent
af7df8b0ca
commit
6a90b0a406
@ -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<string, ImmutableArray<byte>> GetRandomCurrencyImage()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user