mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Possible fix for slowdown with inrole and xplb clean commands
This commit is contained in:
@@ -19,6 +19,9 @@ namespace NadekoBot.Common
|
|||||||
/// <returns>Task representing download state</returns>
|
/// <returns>Task representing download state</returns>
|
||||||
public async Task EnsureUsersDownloadedAsync(IGuild guild)
|
public async Task EnsureUsersDownloadedAsync(IGuild guild)
|
||||||
{
|
{
|
||||||
|
#if !GLOBAL_NADEKO
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
await downloadUsersSemaphore.WaitAsync();
|
await downloadUsersSemaphore.WaitAsync();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user