From 96b86e83b9f97090e76772c6e8fce122e779e5dd Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 15 Nov 2017 14:27:38 +0100 Subject: [PATCH] .xpcr is owner only --- NadekoBot.Core/Modules/Xp/Xp.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NadekoBot.Core/Modules/Xp/Xp.cs b/NadekoBot.Core/Modules/Xp/Xp.cs index c7d4ad8e..886ae8c2 100644 --- a/NadekoBot.Core/Modules/Xp/Xp.cs +++ b/NadekoBot.Core/Modules/Xp/Xp.cs @@ -101,6 +101,7 @@ namespace NadekoBot.Modules.Xp [NadekoCommand, Usage, Description, Aliases] [RequireContext(ContextType.Guild)] + [OwnerOnly] public async Task XpCurrencyReward(int level, int amount=0) { if (level < 1 || amount < 0)