diff --git a/bot/normal_mode/safebooru.ts b/bot/normal_mode/safebooru.ts index c8e3765..e2aef6a 100644 --- a/bot/normal_mode/safebooru.ts +++ b/bot/normal_mode/safebooru.ts @@ -12,7 +12,7 @@ export const handleSafebooruQuery = async ( getPosts: GetSafebooruPostsFunc ): Promise => { // Remove the safebooru refix - const query = ctx.inlineQuery.query.slice("safebooru".length) + const query = ctx.inlineQuery.query.slice("sfbr".length) const tags = query.split(" ") // So we make a request, get some posts in a structure const posts = await getPosts(DEFAULT_POSTS_LIMIT, DEFAULT_START_PAGE_ID, tags)