Skip to content
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.
/ dilomksbot Public archive

Project of Kelas Teknologi, Kelas Python mks.py, super simple bot with Python and Flask micro framework.

License

Notifications You must be signed in to change notification settings

oonid/dilomksbot

Repository files navigation

DiLoMksBot

DILo Makassar Telegram Bot

Getting Started

Important steps

Prerequisites

  • Create Telegram bot by contacting @BotFather (currently @DiLoMksBot)
  • Create Google App Engine project for Python (eg: xxyyzz.appspot.com), Free version (billing not active) is OK

Built With

  • Flask - The web framework used

Check requirements.txt for any details.

Installation

Add Telegram webhook. webhook URL

curl -F "url=https://xxyyzz.appspot.com/webhook/<YOURTOKEN>" https://api.telegram.org/bot<YOURTOKEN>/setWebhook

Deployment

Update configuration on app.yaml. Your Telegram Token and Group ID.

Install packages to lib/ directory, it will be deployed also to App Engine.

Deploy to your App Engine project.

gcloud app deploy --project xxyyzz --verbosity=info app.yaml

Create cron for scheduler and update to Google App Engine.

gcloud app deploy --project xxyyzz --verbosity=info app.yaml cron.yaml

Authors

  • oon arfiandwi - Initial work - OonID

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • etc

About

Project of Kelas Teknologi, Kelas Python mks.py, super simple bot with Python and Flask micro framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages