Skip to content

Latest commit

 

History

History
108 lines (83 loc) · 15 KB

README.md

File metadata and controls

108 lines (83 loc) · 15 KB

Robot del CELP

  • CELP_bot is a Telegram inline calendar based on @createeventbot.
  • This bot is private, only users with permissions can create hikes 🔐
  • Idea: Organization administrators create hikes with this Telegram bot, and share it in a Telegram private channel. Members in this channel can join to the hike.
  • Bot made for a hiking non-proffit organization: CELP - Centre excursionista de la Palma de Cervelló

Descripció

El robot està pensat perquè només alguns administradors del centre excursionista puguin crear excursions, aquest és el motiu pel qual el robot és privat.

El robot es complementa amb un canal privat a Telegram, on es comparteixen les excursions generades amb el robot. Des del canal tots els membres poden accedir a la informació de l'excursió i poden informar de si tenen intenció de participar-hi o no.

General usage

Usage: @celp_bot [hike name]

Installation

  • First, you need Python 3 (pre-installed on Ubuntu) and package manager:
$sudo apt-get install python-pip3

Copy source files to your local machine or server.

Then, you need to install requirements. Go to the directory where requirements.txt are, and run:

$sudo pip3 install -r requirements.txt

Add your Telegram token

Add your allowed users id.
You can know it with some bots like @MyIDbot.

And finally launch the bot with (in the directory where bot.py are):

$python3 bot.py

Credits

Contact

  • lakonfrariadelavila at gmail dot com