mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	fix: fixed quoteshow and quoteid commands not working
This commit is contained in:
		@@ -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, INService
 | 
			
		||||
        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();
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user