GovTechSG / butler-bot

Telegram bot for booking meeting rooms
MIT License
19 stars 15 forks source link

How to Use This Package? #9

Open equa24 opened 7 years ago

equa24 commented 7 years ago

Excuse my stupidity, but I'm absolutely has no clue about how to use this package or how to install it. Do I just download it as a ZIP and then copy+paste it to my server (i'm using windows) or do I have to some serials of commands just like you shown here? And then where do I have to put it my webhook URL?

Thank you

languantan commented 7 years ago

Do I just download it as a ZIP and then copy+paste it to my server

Hi, downloading it as a zip is fine. Do check that you have node installed on windows before you run the commands shown in the README.md. Other than that you would need to create the necessary calendar on google calendar under Configuration

And then where do I have to put it my webhook URL?

Currently we are using a library that supports only long polling which means u need to keep the process running to talk to Telegram. To set that up, just get a bot token from BotFather in telegram and save it as TELEGRAM_BOT_TOKEN in .env