mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Fix Message.click default parameters
This commit is contained in:
parent
b74a8eba5e
commit
310810c320
1 changed files with 1 additions and 1 deletions
|
|
@ -2743,7 +2743,7 @@ class Message(Object, Update):
|
|||
revoke=revoke
|
||||
)
|
||||
|
||||
def click(self, x: int or str, y: int = 0, quote: bool = None, timeout: int = 10):
|
||||
def click(self, x: int or str = 0, y: int = None, quote: bool = None, timeout: int = 10):
|
||||
"""Bound method *click* of :obj:`Message`.
|
||||
|
||||
Use as a shortcut for clicking a button attached to the message instead of:
|
||||
|
|
|
|||
Loading…
Reference in a new issue