Just a bit better formatting.

This commit is contained in:
Kwoth 2017-02-03 10:01:29 +01:00
parent 9d5c977b48
commit 8791bc55f5

View File

@ -173,14 +173,10 @@ namespace NadekoBot.Modules.Administration
[OwnerOnly]
public async Task ReloadImages()
{
var msg = await Context.Channel.SendMessageAsync("Reloading Images...").ConfigureAwait(false);
var sw = Stopwatch.StartNew();
await NadekoBot.Images.Reload().ConfigureAwait(false);
sw.Stop();
await msg.ModifyAsync(x =>
{
x.Content = "✅ Images reloaded.";
}).ConfigureAwait(false);
await Context.Channel.SendConfirmAsync("Images Reloaded").ConfigureAwait(false);
}
private static UserStatus SettableUserStatusToUserStatus(SettableUserStatus sus)