@@ -21,9 +21,9 @@ class FrozenBot:
2121 """A frozen version of botogram.Bot"""
2222
2323 def __init__ (self , api , about , owner , hide_commands , before_help ,
24- after_help , link_preview_in_help , process_backlog , lang ,
25- itself , commands_re , commands , chains , scheduler ,
26- main_component_id , bot_id , shared_memory , update_processors ):
24+ after_help , process_backlog , lang , itself , commands_re ,
25+ commands , chains , scheduler , main_component_id , bot_id ,
26+ shared_memory , update_processors ):
2727 # This attribute should be added with the default setattr, because is
2828 # needed by the custom setattr
2929 object .__setattr__ (self , "_frozen" , False )
@@ -35,7 +35,6 @@ def __init__(self, api, about, owner, hide_commands, before_help,
3535 self ._hide_commands = hide_commands
3636 self .before_help = before_help
3737 self .after_help = after_help
38- self .link_preview_in_help = link_preview_in_help
3938 self .process_backlog = process_backlog
4039 self .lang = lang
4140 self ._commands_re = commands_re
@@ -64,11 +63,10 @@ def __init__(self, api, about, owner, hide_commands, before_help,
6463 def __reduce__ (self ):
6564 args = (
6665 self .api , self .about , self .owner , self ._hide_commands ,
67- self .before_help , self .after_help , self .link_preview_in_help ,
68- self .process_backlog , self .lang , self .itself , self ._commands_re ,
69- self ._commands , self ._chains , self ._scheduler ,
70- self ._main_component_id , self ._bot_id , self ._shared_memory ,
71- self ._update_processors ,
66+ self .before_help , self .after_help , self .process_backlog ,
67+ self .lang , self .itself , self ._commands_re , self ._commands ,
68+ self ._chains , self ._scheduler , self ._main_component_id ,
69+ self ._bot_id , self ._shared_memory , self ._update_processors ,
7270 )
7371 return restore , args
7472
0 commit comments