20 lines
701 B
C#
20 lines
701 B
C#
using Catalogger.Backend.Cache.InMemoryCache;
|
|
using Remora.Discord.API.Abstractions.Gateway.Events;
|
|
using Remora.Discord.Gateway.Responders;
|
|
using Remora.Results;
|
|
|
|
namespace Catalogger.Backend.Bot.Responders.Guilds;
|
|
|
|
public class AuditLogResponder(AuditLogCache auditLogCache, ILogger logger)
|
|
: IResponder<IGuildAuditLogEntryCreate>
|
|
{
|
|
private readonly ILogger _logger = logger.ForContext<AuditLogResponder>();
|
|
|
|
public Task<Result> RespondAsync(IGuildAuditLogEntryCreate evt, CancellationToken ct = default)
|
|
{
|
|
_logger.Debug("type: {ActionType}", evt.ActionType);
|
|
_logger.Debug("{Id}, {Reason}", evt.ID, evt.Reason);
|
|
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|