.xpcr is owner only

This commit is contained in:
Master Kwoth 2017-11-15 14:27:38 +01:00
parent 62a2c7689f
commit 96b86e83b9

View File

@ -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)