.affinity cooldown will now work properly on multiple shards

This commit is contained in:
Master Kwoth
2017-11-03 12:35:27 +01:00
parent 30a609f9a6
commit 0dbd60b5ac
3 changed files with 19 additions and 16 deletions

View File

@ -15,5 +15,6 @@ namespace NadekoBot.Core.Services
Task SetNovelDataAsync(string link, string data);
TimeSpan? AddTimelyClaim(ulong id, int period);
void RemoveAllTimelyClaims();
bool TryAddAffinityCooldown(ulong userId, out TimeSpan? time);
}
}