From 89ab9a2ceb48c9d7eb920cd1a644ee124db0ecc3 Mon Sep 17 00:00:00 2001 From: Toastie Date: Fri, 30 Aug 2024 19:05:16 +1200 Subject: [PATCH] fixed quoteshow and quoteid commands not working --- src/EllieBot/Modules/Utility/Quote/IQuoteService.cs | 2 +- src/EllieBot/Modules/Utility/Quote/QuoteService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EllieBot/Modules/Utility/Quote/IQuoteService.cs b/src/EllieBot/Modules/Utility/Quote/IQuoteService.cs index 20bec68..acd6b19 100644 --- a/src/EllieBot/Modules/Utility/Quote/IQuoteService.cs +++ b/src/EllieBot/Modules/Utility/Quote/IQuoteService.cs @@ -29,7 +29,7 @@ public interface IQuoteService Task> GetGuildQuotesAsync(ulong guildId); Task RemoveAllByKeyword(ulong guildId, string keyword); - Task GetQuoteByIdAsync(ulong guildId, kwum quoteId); + Task GetQuoteByIdAsync(ulong guildId, int quoteId); Task AddQuoteAsync( ulong guildId, diff --git a/src/EllieBot/Modules/Utility/Quote/QuoteService.cs b/src/EllieBot/Modules/Utility/Quote/QuoteService.cs index 8cf8d62..a518a01 100644 --- a/src/EllieBot/Modules/Utility/Quote/QuoteService.cs +++ b/src/EllieBot/Modules/Utility/Quote/QuoteService.cs @@ -121,7 +121,7 @@ public sealed class QuoteService : IQuoteService, IEService return count; } - public async Task GetQuoteByIdAsync(ulong guildId, kwum quoteId) + public async Task GetQuoteByIdAsync(ulong guildId, int quoteId) { await using var uow = _db.GetDbContext();