10 lines
287 B
C#
10 lines
287 B
C#
|
|
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);
|
||
|
|
}
|