feat(api): also clear cache when leaving a guild
This commit is contained in:
parent
5c57b75335
commit
439051999f
10 changed files with 53 additions and 0 deletions
|
|
@ -22,4 +22,5 @@ public interface IInviteCache
|
|||
{
|
||||
public Task<IEnumerable<IInviteWithMetadata>> TryGetAsync(Snowflake guildId);
|
||||
public Task SetAsync(Snowflake guildId, IEnumerable<IInviteWithMetadata> invites);
|
||||
public Task RemoveAsync(Snowflake guildId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue