Updated a few things

This commit is contained in:
Emotion 2023-08-15 15:00:13 +12:00
parent abd3be86b4
commit f7467ae23f
No known key found for this signature in database
GPG key ID: D7D3E4C27A98C37B
8 changed files with 17 additions and 7 deletions

6
NuGet.Config Normal file
View file

@ -0,0 +1,6 @@
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="nadeko.bot" value="https://www.myget.org/F/nadeko/api/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>

View file

@ -1,11 +1,11 @@
# List of things to do
- ~~Finish Ellie.Bot.Modules.Searches~~ - Finished
- Start and finish Ellie.Bot.Modules.Administration
- Finish Ellie.Bot.Modules.Administration - Started
- Start and finish Ellie.Bot.Modules.Utility
- ~~Finish Ellie.Bot.Modules.Music~~ - Finished
- ~~Finish Ellie.Bot.Modules.Xp~~ - Finished
- ~~Finish Ellie.Bot.Modules.Patronage~~ - Finished
- Start and finish Ellie.Bot.Modules.Help
- Start amd finish Ellie.Bot.Modules.Permissions
- ~~Finish Ellie.Bot.Modules.Permissions~~ - Finished
- Fix the numerous bugs

View file

@ -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)
{

View file

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Discord.Net" Version="3.11.0" />
<PackageReference Include="Discord.Net" Version="3.202.0" />
</ItemGroup>
<ItemGroup>

View file

@ -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>

View file

@ -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;

View file

@ -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;

View file

@ -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>