mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix bug in search query
This commit is contained in:
@@ -255,7 +255,7 @@ export async function createApprovedBot(token: string, state: BotState): Promise
|
||||
return;
|
||||
}
|
||||
|
||||
const query = ctx.message.text.substring(0, 64 - 7);
|
||||
const query = ctx.message.text.replaceAll("_", " ").substring(0, 64 - 7).toLowerCase();
|
||||
|
||||
let keyboard = Markup.inlineKeyboard([
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user