move classes around, name caches more consistently, add more caches
This commit is contained in:
parent
e86b37ce2a
commit
e17dcf90a1
30 changed files with 443 additions and 51 deletions
10
Catalogger.Backend/Cache/IInviteCache.cs
Normal file
10
Catalogger.Backend/Cache/IInviteCache.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
using Remora.Discord.API.Abstractions.Objects;
|
||||
using Remora.Rest.Core;
|
||||
|
||||
namespace Catalogger.Backend.Cache;
|
||||
|
||||
public interface IInviteCache
|
||||
{
|
||||
public Task<IEnumerable<IInvite>> TryGetAsync(Snowflake guildId);
|
||||
public Task SetAsync(Snowflake guildId, IEnumerable<IInvite> invites);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue