autohentai requires manage messages permission

This commit is contained in:
Kwoth 2017-01-17 03:23:13 +01:00
parent df05f7dae9
commit c04e376492

View File

@ -66,6 +66,7 @@ namespace NadekoBot.Modules.NSFW
InternalHentai(Context.Channel, tag, false); InternalHentai(Context.Channel, tag, false);
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireUserPermission(ChannelPermission.ManageMessages)]
public async Task AutoHentai(int interval = 0, string tags = null) public async Task AutoHentai(int interval = 0, string tags = null)
{ {
Timer t; Timer t;