fixed quoteshow and quoteid commands not working
This commit is contained in:
parent
b017c5e805
commit
89ab9a2ceb
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ public interface IQuoteService
|
|||
|
||||
Task<IReadOnlyCollection<Quote>> GetGuildQuotesAsync(ulong guildId);
|
||||
Task<int> RemoveAllByKeyword(ulong guildId, string keyword);
|
||||
Task<Quote?> GetQuoteByIdAsync(ulong guildId, kwum quoteId);
|
||||
Task<Quote?> GetQuoteByIdAsync(ulong guildId, int quoteId);
|
||||
|
||||
Task<Quote> AddQuoteAsync(
|
||||
ulong guildId,
|
||||
|
|
|
@ -121,7 +121,7 @@ public sealed class QuoteService : IQuoteService, IEService
|
|||
return count;
|
||||
}
|
||||
|
||||
public async Task<Quote?> GetQuoteByIdAsync(ulong guildId, kwum quoteId)
|
||||
public async Task<Quote?> GetQuoteByIdAsync(ulong guildId, int quoteId)
|
||||
{
|
||||
await using var uow = _db.GetDbContext();
|
||||
|
||||
|
|
Loading…
Reference in a new issue