Main

Main module

main.add_commands(up)

Adds the list of commands with their description to the bot

Parameters:

up (Updater) – supplyed Updater

Return type:

None

main.add_handlers(dp)

Adds all the handlers the bot will react to

Parameters:

dp (Dispatcher) – supplied Dispatcher

Return type:

None

main.add_jobs(dp)

Schedule the jobs in the JobQueue

Parameters:

dp (Dispatcher) – supplyed Dispatcher

Return type:

None

main.main()

Main function

Return type:

None