Add quote search by keyword and text

Add quote search by keyword and text
This commit is contained in:
Shikhir Arora 2017-02-13 22:32:39 -05:00 committed by GitHub
parent 921f3a6d6c
commit 7a03c277cf

View File

@ -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();
}
}
}
}