harsh8398 / Pi-telegram-bot

Bot for Telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pi - A Telegram bot

Pi that adds little more fun to group chats.

Getting Started

Clone the repository

git clone https://github.com/harsh8398/Pi-telegram-bot.git


You can install all the prerequisites by following command in project directory.

pip install -r requirements

urbandictionary is needed to be installed from this link. Official version won't work as its tweaked for this bot.

Setting up environment

To have bot running you need to set environment variable named 'TELEGRAM_TOKEN' (for master branch) or 'TELEGRAM_TOKEN_BETA' (for dev branch)

In linux you can set it by running following command

export TELEGRAM_TOKEN='tOkeN_ValUe_hERe'

Now you can make the bot live by running

python Pi.py

APIs used


This project is licensed under the MIT License - see the LICENSE file for details


Bot for Telegram

License:MIT License


Language:Python 100.0%