.reloadimages can be ran in DM now

This commit is contained in:
Kwoth 2017-02-03 09:59:18 +01:00
parent 0b9c52fc63
commit 9d5c977b48

View File

@ -170,12 +170,9 @@ namespace NadekoBot.Modules.Administration
}
[NadekoCommand, Usage, Description, Aliases]
[RequireContext(ContextType.Guild)]
[OwnerOnly]
public async Task ReloadImages()
{
var channel = (ITextChannel)Context.Channel;
var msg = await Context.Channel.SendMessageAsync("Reloading Images...").ConfigureAwait(false);
var sw = Stopwatch.StartNew();
await NadekoBot.Images.Reload().ConfigureAwait(false);