diff --git a/paybot.facti13.py b/paybot.facti13.py index 01dc8d7..7a25d73 100644 --- a/paybot.facti13.py +++ b/paybot.facti13.py @@ -40,6 +40,7 @@ class Client: self.backend = BackendClient() self.qiwi_dp = QiwiDispatcher() self.wallet = QiwiWallet(api_access_token=os.getenv("QIWI_APIKEY"), phone_number=os.getenv("QIWI_PHONENUMBER")) + self.build_handler() def run(self): executor.start_polling(self.wallet, self.qiwi_dp, on_startup=self.on_startup)