Add quote search by keyword and text
Add quote search by keyword and text
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user