People without manage messages can no longer user reminds on channels

This commit is contained in:
Kwoth 2017-03-05 23:34:01 +01:00
parent b0352c20be
commit 504da01917

View File

@ -114,6 +114,7 @@ namespace NadekoBot.Modules.Utility
[NadekoCommand, Usage, Description, Aliases] [NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)] [RequireContext(ContextType.Guild)]
[RequireUserPermission(GuildPermission.ManageMessages)]
[Priority(0)] [Priority(0)]
public async Task Remind(IMessageChannel ch, string timeStr, [Remainder] string message) public async Task Remind(IMessageChannel ch, string timeStr, [Remainder] string message)
{ {