fix: anuo mode unexpected replacement
This commit is contained in:
parent
b041aa0de8
commit
8552656298
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ async def handle_inline_query(query: InlineQuery):
|
||||||
return
|
return
|
||||||
"""
|
"""
|
||||||
if query_text.startswith('anuo'):
|
if query_text.startswith('anuo'):
|
||||||
main = query_text.replace("anuo", "").strip()
|
main = query_text.replace("anuo", "",1).strip()
|
||||||
await query.answer(results=[
|
await query.answer(results=[
|
||||||
InlineQueryResultArticle(
|
InlineQueryResultArticle(
|
||||||
id="1",
|
id="1",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue