feat: flesh out member remove responder
This commit is contained in:
parent
516ce3a6e9
commit
b31a20bb81
8 changed files with 119 additions and 12 deletions
|
|
@ -1,14 +1,20 @@
|
|||
using Catalogger.Backend.Cache.InMemoryCache;
|
||||
using Newtonsoft.Json;
|
||||
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) : IResponder<IGuildAuditLogEntryCreate>
|
||||
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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue