You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
New API features usually have a very predictable set of new features:
adding a new argument to bot methods -> we need to add the parameter to all methods + docs + shortcut methods + extbot
adding a new parameter to classes -> add to __init__ + docs + assign to self.
Describe the solution you'd like
How would the script know what to add? It can parse the output of test_official first, to add parameters to bot methods. Next, it can then run test_message, test_chat, etc, to know which shortcut methods need updating.
Additionally the script should also confirm with the user using input() for the action it is about to do. The script can also take the argument -y to skip asking.
Describe alternatives you've considered
Do it all manually like we do already.
Additional context
Even if the script isn't perfect, it can help reduce developer time.
The text was updated successfully, but these errors were encountered:
Bibo-Joshi
changed the title
[FEATURE] Automate adding some of the new API features using python script
Automate adding some of the new API features using python script
Nov 8, 2024
What kind of feature are you missing? Where do you notice a shortcoming of PTB?
New API features usually have a very predictable set of new features:
__init__
+ docs + assign toself
.Describe the solution you'd like
How would the script know what to add? It can parse the output of
test_official
first, to add parameters to bot methods. Next, it can then runtest_message
,test_chat
, etc, to know which shortcut methods need updating.Additionally the script should also confirm with the user using
input()
for the action it is about to do. The script can also take the argument-y
to skip asking.Describe alternatives you've considered
Do it all manually like we do already.
Additional context
Even if the script isn't perfect, it can help reduce developer time.
The text was updated successfully, but these errors were encountered: