Updated a few things
This commit is contained in:
parent
abd3be86b4
commit
f7467ae23f
8 changed files with 17 additions and 7 deletions
6
NuGet.Config
Normal file
6
NuGet.Config
Normal 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>
|
4
TODO.md
4
TODO.md
|
@ -1,11 +1,11 @@
|
||||||
# List of things to do
|
# List of things to do
|
||||||
|
|
||||||
- ~~Finish Ellie.Bot.Modules.Searches~~ - Finished
|
- ~~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
|
- Start and finish Ellie.Bot.Modules.Utility
|
||||||
- ~~Finish Ellie.Bot.Modules.Music~~ - Finished
|
- ~~Finish Ellie.Bot.Modules.Music~~ - Finished
|
||||||
- ~~Finish Ellie.Bot.Modules.Xp~~ - Finished
|
- ~~Finish Ellie.Bot.Modules.Xp~~ - Finished
|
||||||
- ~~Finish Ellie.Bot.Modules.Patronage~~ - Finished
|
- ~~Finish Ellie.Bot.Modules.Patronage~~ - Finished
|
||||||
- Start and finish Ellie.Bot.Modules.Help
|
- Start and finish Ellie.Bot.Modules.Help
|
||||||
- Start amd finish Ellie.Bot.Modules.Permissions
|
- ~~Finish Ellie.Bot.Modules.Permissions~~ - Finished
|
||||||
- Fix the numerous bugs
|
- Fix the numerous bugs
|
|
@ -79,6 +79,8 @@ public sealed class DoAsUserMessage : IUserMessage
|
||||||
|
|
||||||
public IUser Author => _user;
|
public IUser Author => _user;
|
||||||
|
|
||||||
|
public IThreadChannel Thread => _msg.Thread;
|
||||||
|
|
||||||
public IReadOnlyCollection<IAttachment> Attachments => _msg.Attachments;
|
public IReadOnlyCollection<IAttachment> Attachments => _msg.Attachments;
|
||||||
|
|
||||||
public IReadOnlyCollection<IEmbed> Embeds => _msg.Embeds;
|
public IReadOnlyCollection<IEmbed> Embeds => _msg.Embeds;
|
||||||
|
@ -106,6 +108,7 @@ public sealed class DoAsUserMessage : IUserMessage
|
||||||
public MessageFlags? Flags => _msg.Flags;
|
public MessageFlags? Flags => _msg.Flags;
|
||||||
|
|
||||||
public IMessageInteraction Interaction => _msg.Interaction;
|
public IMessageInteraction Interaction => _msg.Interaction;
|
||||||
|
public MessageRoleSubscriptionData RoleSubscriptionData => _msg.RoleSubscriptionData;
|
||||||
|
|
||||||
public Task ModifyAsync(Action<MessageProperties> func, RequestOptions? options = null)
|
public Task ModifyAsync(Action<MessageProperties> func, RequestOptions? options = null)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Discord.Net" Version="3.11.0" />
|
<PackageReference Include="Discord.Net" Version="3.202.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<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" />
|
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@ using Ellie.Services.Database.Models;
|
||||||
|
|
||||||
namespace Ellie.Bot.Modules.Gambling.Gambling._Common;
|
namespace Ellie.Bot.Modules.Gambling.Gambling._Common;
|
||||||
|
|
||||||
|
// todo organize
|
||||||
public interface IGamblingCleanupService
|
public interface IGamblingCleanupService
|
||||||
{
|
{
|
||||||
Task DeleteWaifus();
|
Task DeleteWaifus();
|
||||||
|
@ -11,7 +12,7 @@ public interface IGamblingCleanupService
|
||||||
Task DeleteCurrency();
|
Task DeleteCurrency();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class GamblingCleanupService : IGamblingCleanupService
|
public class GamblingCleanupService : IGamblingCleanupService, IEService
|
||||||
{
|
{
|
||||||
private readonly DbService _db;
|
private readonly DbService _db;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ using Ellie.Services.Database.Models;
|
||||||
|
|
||||||
namespace Ellie.Modules.Xp;
|
namespace Ellie.Modules.Xp;
|
||||||
|
|
||||||
public sealed class XpCleanupService : IXpCleanupService
|
public sealed class XpCleanupService : IXpCleanupService, IEService
|
||||||
{
|
{
|
||||||
private readonly DbService _db;
|
private readonly DbService _db;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<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="Serilog" Version="2.12.0" />
|
||||||
<PackageReference Include="YamlDotNet" Version="13.0.2" />
|
<PackageReference Include="YamlDotNet" Version="13.0.2" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in a new issue