.reloadimages can be ran in DM now
This commit is contained in:
parent
0b9c52fc63
commit
9d5c977b48
@ -170,12 +170,9 @@ namespace NadekoBot.Modules.Administration
|
|||||||
}
|
}
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[RequireContext(ContextType.Guild)]
|
|
||||||
[OwnerOnly]
|
[OwnerOnly]
|
||||||
public async Task ReloadImages()
|
public async Task ReloadImages()
|
||||||
{
|
{
|
||||||
var channel = (ITextChannel)Context.Channel;
|
|
||||||
|
|
||||||
var msg = await Context.Channel.SendMessageAsync("Reloading Images...").ConfigureAwait(false);
|
var msg = await Context.Channel.SendMessageAsync("Reloading Images...").ConfigureAwait(false);
|
||||||
var sw = Stopwatch.StartNew();
|
var sw = Stopwatch.StartNew();
|
||||||
await NadekoBot.Images.Reload().ConfigureAwait(false);
|
await NadekoBot.Images.Reload().ConfigureAwait(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user