Add quote search by keyword and text
Add quote search by keyword and text
This commit is contained in:
		@@ -28,6 +28,6 @@ namespace NadekoBot.Services.Database.Repositories.Impl
 | 
				
			|||||||
		      			
 | 
							      			
 | 
				
			||||||
          	var rngk = new NadekoRandom();
 | 
					          	var rngk = new NadekoRandom();
 | 
				
			||||||
            return _set.Where(q => q.Text.Contains(text) && q.GuildId == guildId && q.Keyword == keyword).OrderBy(q => rngk.Next()).FirstOrDefaultAsync();
 | 
					            return _set.Where(q => q.Text.Contains(text) && q.GuildId == guildId && q.Keyword == keyword).OrderBy(q => rngk.Next()).FirstOrDefaultAsync();
 | 
				
			||||||
		}
 | 
						}
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user