/ruokablo-bot

Telegrambot that tells what food Tampere University Hervanta campus has and greats poll on where to eat

Primary LanguageJavaScriptMIT LicenseMIT

Ruoka-bot

Ever wondered where your group should go to eat?

Wonder no longer!!?!?! This bot will tell you what food the Tampere University Hervanta Campus has to offer and show a poll where your group can decide where to go.

Automaticly

Every

Single

Day

At

10.30 AM

Installation

Yarn Firebase-cli

You will also need a telegram bot to test things: Bots

git clone https://github.com/nipatiitti/ruokablo-bot
cd ruokablo-bot
firebase init

cd ./functions
yarn install

Usage

You will need a firebase project to do this. Follow the instructions on the firebase site to set it up Firebase Also activate the functions for that project Funtcions

Then in the /functions folder

yarn deploy

This will deploy the project to firebase.

Then you will need to set the bot's webhook properly. Telegram webhook tutorial

The url should look like https:///apiEndPoint/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT