CodeForcer / localcoinbot

Telegram bot to handle some basic tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple LocalCoinSwap group Telgram bot which moderates: https://t.me/localcoinswap (group ID -1001332456112)

Setup:

  1. Create virtual env and open it: virtualenv -p python3 venv source venv/bin/activate
  2. Install requirements: pip3 install -r requirements.txt
  3. Create settings.py file in base directory
  4. Create variables in settings.py: TOKEN = 'token', where 'token' is the bot authentication token MYMEMORY_KEY = 'key', where 'key' is an API key from https://mymemory.translated.net/ MYMEMORY_CONTACT = 'email@domain.com' emergency contact email - increases translation allowance to 10K words per day EXCHANGE_URL = 'https://localcoinswap.com'

Testing locally:

  1. Open virtualenv and then start the bot: source venv/bin/activate python3 localcoinbot.py

Remote deployment: The included systemd service file has been tested for remote deployment.

Example URL:

https://telegram.me/LocalCoinSwapsBot?start=uEDbtJFHxKc

About

Telegram bot to handle some basic tasks


Languages

Language:Python 100.0%