Add quote search by keyword and text

Add quote search by keyword and text
This commit is contained in:
Shikhir Arora authored and GitHub committed 2017-02-13 22:32:39 -05:00
1 parent 921f3a6d6c
commit 7a03c277cf
1 file changed
+1 -1
@@ -28,6 +28,6 @@ namespace NadekoBot.Services.Database.Repositories.Impl
var rngk = new NadekoRandom();
return _set.Where(q => q.Text.Contains(text) && q.GuildId == guildId && q.Keyword == keyword).OrderBy(q => rngk.Next()).FirstOrDefaultAsync();
}
}
}
}