Updated Administration module
This commit is contained in:
parent
2d7f345c40
commit
499c2a9a5f
5 changed files with 9 additions and 12 deletions
|
@ -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;
|
||||
|
@ -93,4 +93,3 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
|
@ -1,7 +1,7 @@
|
|||
using EllieBot.Modules.Administration.Honeypot;
|
||||
|
||||
namespace EllieBot.Modules.Administration;
|
||||
/*
|
||||
|
||||
public partial class Administration
|
||||
{
|
||||
[Group]
|
||||
|
@ -27,4 +27,3 @@ public partial class Administration
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
|
@ -1,7 +1,6 @@
|
|||
namespace EllieBot.Modules.Administration.Honeypot;
|
||||
/*
|
||||
|
||||
public interface IHoneyPotService
|
||||
{
|
||||
public Task<bool> ToggleHoneypotChannel(ulong guildId, ulong channelId);
|
||||
}
|
||||
*/
|
|
@ -3,7 +3,7 @@
|
|||
namespace EllieBot.Modules.Administration;
|
||||
|
||||
public sealed class DummyLogCommandService : ILogCommandService
|
||||
#if GLOBAL_NADEKO
|
||||
#if GLOBAL_ELLIE
|
||||
, IEService
|
||||
#endif
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue