Add quote search by keyword and text
Add quote search by keyword and text
This commit is contained in:
parent
921f3a6d6c
commit
7a03c277cf
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user