This commit is contained in:
Master Kwoth 2017-07-05 11:07:54 +02:00
parent 9bb8f3d666
commit b4cf9fee84

View File

@ -32,6 +32,7 @@ namespace NadekoBot.Modules.Utility
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[OwnerOnly] [OwnerOnly]
[RequireContext(ContextType.DM)]
public async Task PatreonRewardsReload() public async Task PatreonRewardsReload()
{ {
if (string.IsNullOrWhiteSpace(_creds.PatreonAccessToken)) if (string.IsNullOrWhiteSpace(_creds.PatreonAccessToken))
@ -42,6 +43,7 @@ namespace NadekoBot.Modules.Utility
} }
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.DM)]
public async Task ClaimPatreonRewards() public async Task ClaimPatreonRewards()
{ {
if (string.IsNullOrWhiteSpace(_creds.PatreonAccessToken)) if (string.IsNullOrWhiteSpace(_creds.PatreonAccessToken))