GithubHelp home page GithubHelp logo

dgnaegi / altpapierbot Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 30.87 MB

Telegram bot to receive cardboard and paper disposal reminders in Zurich. Never forget a disposal again!

Home Page: https://telegram.me/altpapierbot

License: Do What The F*ck You Want To Public License

Python 100.00%

altpapierbot's People

Contributors

andreas-aeschlimann avatar dgnaegi avatar soyyyyyyy avatar

Stargazers

 avatar  avatar  avatar  avatar

altpapierbot's Issues

Delete user from database after the chat was stopped

Description
It is possible to stop a bot-chat in telegram. When a user does this, the API returns an error after trying to send a message to the users chat-id. Currently, this errors are catched within the exception handling and the chat-id remains in the db. It is desirable to remove those entries from the db, so the Telegram-API is not called twice a day with those entries.

Steps to reproduce

  1. Register with a zip-code with disposal today/tomorrow
  2. Stop Chat
  3. Run altpapierBot.py
  4. Error should be logged in error.log

Possible Solution
Delete db entry after a permission error

Mehrere Sprachen anbieten

Zumindest die Benachichtungen für die Abfuhr soll in mehreren Sprachen abgebildet werden. CH-Deutsch wäre cool ;-)

Müllabfuhr einbinden

Als User möchte ich gerne auch bei Müllabfuhr-Terminen erinnert werden

  • Zurich
  • Basel
  • St.Gallen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.