Format main.py with black
This commit is contained in:
parent
c3594795cd
commit
b5ac2c0445
1 changed files with 1 additions and 3 deletions
4
main.py
4
main.py
|
|
@ -523,9 +523,7 @@ async def press_inline_button(
|
||||||
)
|
)
|
||||||
|
|
||||||
if not target_message:
|
if not target_message:
|
||||||
return (
|
return "No message with inline buttons found. Specify message_id to target a specific message."
|
||||||
"No message with inline buttons found. Specify message_id to target a specific message."
|
|
||||||
)
|
|
||||||
|
|
||||||
buttons_attr = getattr(target_message, "buttons", None)
|
buttons_attr = getattr(target_message, "buttons", None)
|
||||||
if not buttons_attr:
|
if not buttons_attr:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue