Just a bit better formatting.
This commit is contained in:
parent
9d5c977b48
commit
8791bc55f5
@ -173,14 +173,10 @@ namespace NadekoBot.Modules.Administration
|
|||||||
[OwnerOnly]
|
[OwnerOnly]
|
||||||
public async Task ReloadImages()
|
public async Task ReloadImages()
|
||||||
{
|
{
|
||||||
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);
|
||||||
sw.Stop();
|
sw.Stop();
|
||||||
await msg.ModifyAsync(x =>
|
await Context.Channel.SendConfirmAsync("Images Reloaded").ConfigureAwait(false);
|
||||||
{
|
|
||||||
x.Content = "✅ Images reloaded.";
|
|
||||||
}).ConfigureAwait(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static UserStatus SettableUserStatusToUserStatus(SettableUserStatus sus)
|
private static UserStatus SettableUserStatusToUserStatus(SettableUserStatus sus)
|
||||||
|
Loading…
Reference in New Issue
Block a user