Updated Administration module

This commit is contained in:
Toastie (DCS Team) 2024-07-07 19:30:36 +12:00
parent 2d7f345c40
commit 499c2a9a5f
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
5 changed files with 9 additions and 12 deletions

View file

@ -5,7 +5,7 @@ using EllieBot.Db.Models;
using System.Threading.Channels;
namespace EllieBot.Modules.Administration.Honeypot;
/*
public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoCommand, IEService
{
private readonly DbService _db;
@ -92,5 +92,4 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC
await _punishments.Writer.WriteAsync(sgu);
}
}
}
*/
}

View file

@ -1,7 +1,7 @@
using EllieBot.Modules.Administration.Honeypot;
namespace EllieBot.Modules.Administration;
/*
public partial class Administration
{
[Group]
@ -26,5 +26,4 @@ public partial class Administration
await Response().Confirm(strs.honeypot_off).SendAsync();
}
}
}
*/
}

View file

@ -1,7 +1,6 @@
namespace EllieBot.Modules.Administration.Honeypot;
/*
public interface IHoneyPotService
{
public Task<bool> ToggleHoneypotChannel(ulong guildId, ulong channelId);
}
*/
}

View file

@ -3,7 +3,7 @@
namespace EllieBot.Modules.Administration;
public sealed class DummyLogCommandService : ILogCommandService
#if GLOBAL_NADEKO
#if GLOBAL_ELLIE
, IEService
#endif
{

View file

@ -8,8 +8,8 @@ using EllieBot.Db.Models;
namespace EllieBot.Modules.Administration;
public sealed class LogCommandService : ILogCommandService, IReadyExecutor
#if !GLOBAL_NADEKO
, IEService // don't load this service on global nadeko
#if !GLOBAL_ELLIE
, IEService // don't load this service on global ellie
#endif
{
public ConcurrentDictionary<ulong, LogSetting> GuildLogSettings { get; }