From e56190e9da7dd95e52976247c54b616ce17d2de2 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 30 Aug 2024 05:18:10 +0000 Subject: [PATCH] fix: fixed quoteshow and quoteid commands not working --- src/NadekoBot/Modules/Utility/Quote/IQuoteService.cs | 2 +- src/NadekoBot/Modules/Utility/Quote/QuoteService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NadekoBot/Modules/Utility/Quote/IQuoteService.cs b/src/NadekoBot/Modules/Utility/Quote/IQuoteService.cs index 7b040b320..763df2998 100644 --- a/src/NadekoBot/Modules/Utility/Quote/IQuoteService.cs +++ b/src/NadekoBot/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/NadekoBot/Modules/Utility/Quote/QuoteService.cs b/src/NadekoBot/Modules/Utility/Quote/QuoteService.cs index 78e3c5361..69653bd20 100644 --- a/src/NadekoBot/Modules/Utility/Quote/QuoteService.cs +++ b/src/NadekoBot/Modules/Utility/Quote/QuoteService.cs @@ -121,7 +121,7 @@ public sealed class QuoteService : IQuoteService, INService return count; } - public async Task GetQuoteByIdAsync(ulong guildId, kwum quoteId) + public async Task GetQuoteByIdAsync(ulong guildId, int quoteId) { await using var uow = _db.GetDbContext();