Fix Message.click default parameters
This commit is contained in:
parent
b74a8eba5e
commit
310810c320
@ -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 New Issue
Block a user