help Package

help Package

class help.__init__.Help(seed_tuple, include_callback_query=False, **kwargs)[source]

Bases: telepot.aio.helper.ChatHandler

cmd_helps(msg)[source]

sends the user a formatted list of commands for easy registering with botfather

send_help(msg)[source]

sends the user a combined help message for all plug-ins

help.__init__.create_help(config)[source]
help.__init__.fetch_user_help()[source]

Returns a dictionary of all the __userhelp__’s defined in the loaded plug-ins.

help.__init__.format_user_help(userhelps)[source]

Takes a dict of user help messages and formats them.

help.__init__.get_all_cmd_helps()[source]

Retrieves the help messages in the tuples of each plug-in’s __commands__ list