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; using System.Threading.Channels;
namespace EllieBot.Modules.Administration.Honeypot; namespace EllieBot.Modules.Administration.Honeypot;
/*
public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoCommand, IEService public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoCommand, IEService
{ {
private readonly DbService _db; private readonly DbService _db;
@ -93,4 +93,3 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC
} }
} }
} }
*/

View file

@ -1,7 +1,7 @@
using EllieBot.Modules.Administration.Honeypot; using EllieBot.Modules.Administration.Honeypot;
namespace EllieBot.Modules.Administration; namespace EllieBot.Modules.Administration;
/*
public partial class Administration public partial class Administration
{ {
[Group] [Group]
@ -27,4 +27,3 @@ public partial class Administration
} }
} }
} }
*/

View file

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

View file

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

View file

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