images reload and guild leave will now use new pubsub

This commit is contained in:
Kwoth
2021-07-03 00:02:26 +02:00
parent 65b4c1fab7
commit 35d5260538
2 changed files with 40 additions and 47 deletions

View File

@@ -518,7 +518,7 @@ namespace NadekoBot.Modules.Administration
[OwnerOnly]
public async Task ImagesReload()
{
_service.ReloadImages();
await _service.ReloadImagesAsync();
await ReplyConfirmLocalizedAsync("images_loading", 0).ConfigureAwait(false);
}