-
Notifications
You must be signed in to change notification settings - Fork 3
HOW TO
Zubik Dmitriy edited this page Oct 31, 2018
·
2 revisions
- Generate SSL certificate for you host
- Add environment variables
-
BM_CAT_SSL_CERTIFICATE_PATHwith cert path andBM_CAT_PRIVATE_KEY_PATHwith private key path -
PORTserver will listen this port (5000 by default) -
BM_CAT_HOSTandBM_CAT_PORT(Telegram currently only supports four ports for webhooks: 443, 80, 88 and 8443) where telegram will send requests -
BM_CAT_API_KEY- telegram api key -
BM_YOUTUBE_API_KEY- Youtube api key
- run
src/server.py
Start chat with your bot and send 'BM!' it responses with random video from YT
Inline feature has to be enabled. Type @[your_bot_name] BM! at any chat and have fun