Coder Social home page Coder Social logo

abhint / qrcode-telegram-bot Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 30.0 85 KB

This is a simple bot. You generate QRcode with this bot

Home Page: https://abhint.github.io/

License: GNU General Public License v3.0

Python 100.00%
telegram telegram-bot pyrogram qrcode qrcode-generator bot

qrcode-telegram-bot's Introduction

QRCode-Telegram-bot

Clone repository

//With HTTPS
$ git clone https://github.com/AbhijithNT/QRCode-Telegram-bot.git
//With GitHub CLI
$ gh repo clone AbhijithNT/QRCode-Telegram-bot

Install requirements

pip3 install -r requirements.txt

Add your bot details

An example config.py file could be:

BOT_TOKEN = '1991308069:tU1gaAyvgAAGgo3F2AI2J7nxcqvkwoTCrpY' #add your API_HASH from https://my.telegram.org/apps
API_ID = 1234567 #Add your API_ID from https://my.telegram.org/apps
API_HASH = 'bc4811980930ad49d7f8e2b024f7cf13' #Add your Bot token from @Botfather

Go and get the bot token @BotFather

click the link to get your app id & api_hash my.telegram.org

Run your Bot

python3 -m bot

Deploy

Deploy

Credits, and Thanks to

LICENSE

qrcode-telegram-bot's People

Contributors

abhint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

qrcode-telegram-bot's Issues

Please help me

hi.
ii create qr bot on heroku but it not works (with many errors such as message_id and ...).
can you test it and fix problems?

ValueError

import os

class EnvData:
    BOT_TOKEN = os.environ["BOT_TOKEN"]  
    API_ID = int(os.environ["API_ID"]) 
    API_HASH = os.environ["API_HASH"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.