forked from EllieBotDevs/elliebot
Updated a few things
This commit is contained in:
parent
abd3be86b4
commit
f7467ae23f
8 changed files with 17 additions and 7 deletions
src
Ellie.Bot.Common
Ellie.Bot.Modules.Expresssions
Ellie.Bot.Modules.Gambling/Gambling/_common
Ellie.Bot.Modules.Xp/_common
Ellie.Marmalade
|
@ -79,6 +79,8 @@ public sealed class DoAsUserMessage : IUserMessage
|
|||
|
||||
public IUser Author => _user;
|
||||
|
||||
public IThreadChannel Thread => _msg.Thread;
|
||||
|
||||
public IReadOnlyCollection<IAttachment> Attachments => _msg.Attachments;
|
||||
|
||||
public IReadOnlyCollection<IEmbed> Embeds => _msg.Embeds;
|
||||
|
@ -106,6 +108,7 @@ public sealed class DoAsUserMessage : IUserMessage
|
|||
public MessageFlags? Flags => _msg.Flags;
|
||||
|
||||
public IMessageInteraction Interaction => _msg.Interaction;
|
||||
public MessageRoleSubscriptionData RoleSubscriptionData => _msg.RoleSubscriptionData;
|
||||
|
||||
public Task ModifyAsync(Action<MessageProperties> func, RequestOptions? options = null)
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Discord.Net" Version="3.11.0" />
|
||||
<PackageReference Include="Discord.Net" Version="3.202.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Discord.Net" Version="3.11.0" />
|
||||
<PackageReference Include="Discord.Net" Version="3.202.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ using Ellie.Services.Database.Models;
|
|||
|
||||
namespace Ellie.Bot.Modules.Gambling.Gambling._Common;
|
||||
|
||||
// todo organize
|
||||
public interface IGamblingCleanupService
|
||||
{
|
||||
Task DeleteWaifus();
|
||||
|
@ -11,7 +12,7 @@ public interface IGamblingCleanupService
|
|||
Task DeleteCurrency();
|
||||
}
|
||||
|
||||
public class GamblingCleanupService : IGamblingCleanupService
|
||||
public class GamblingCleanupService : IGamblingCleanupService, IEService
|
||||
{
|
||||
private readonly DbService _db;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ using Ellie.Services.Database.Models;
|
|||
|
||||
namespace Ellie.Modules.Xp;
|
||||
|
||||
public sealed class XpCleanupService : IXpCleanupService
|
||||
public sealed class XpCleanupService : IXpCleanupService, IEService
|
||||
{
|
||||
private readonly DbService _db;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Discord.Net.Core" Version="3.104.0" />
|
||||
<PackageReference Include="Discord.Net.Core" Version="3.202.0" />
|
||||
<PackageReference Include="Serilog" Version="2.12.0" />
|
||||
<PackageReference Include="YamlDotNet" Version="13.0.2" />
|
||||
</ItemGroup>
|
||||
|
|
Reference in a new issue