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;
|
||||
|
@ -92,5 +92,4 @@ public sealed class HoneyPotService : IHoneyPotService, IReadyExecutor, IExecNoC
|
|||
await _punishments.Writer.WriteAsync(sgu);
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
|
@ -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