Code Monkey home page Code Monkey logo

currency-checker's Introduction

currency-checker

A simple telegram bot that will send currency rates every morning and every evening or by request. image
Bot developed to be deployed on heroku.com.
Usage:
Change following properties in src/main/resources/telegram.properties
bot.name - bot name that you received from telegram's BotFather.
bot.token - token for HTTP API usage that you received from telegram's BotFather.
general.ids - comma separated list of telegram ids, so bot can send scheduled messages to them. Example '345634634,3463453451,787765'
access.pwd - password on which bot will react and send currency rates on demand.
zone.id - your time zone id, on image example it is set to 'Europe/Moscow'.

Also configure property in src/main/resources/application.properties
app.url - heroku application url that is used to send heartbeats and prevent heroku to put application in "sleep" mode.
'greetings' properties are as greetings for scheduled messages in evening and morning time.
Structure of 'greetings': 'chat_id_1:greeting_1|chat_id_2:greeting_2'. Example:
greetings.morning=674564564:Good morning, Vladimir.|8456345:Good morning, Bob.
greetings.evening=674564564:Good evening, Vladimir.|8456345:Good evening, Bob.

currency-checker's People

Contributors

n0n4m3q avatar

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.