Giter Club home page Giter Club logo

telegram-bot-shop's Introduction

Telegram Bot Shop (AutoSeller)

1520680073-photo-2018-03-09-15-06-10-photo-resizer-ru

AutoShop in Telegram. There is a cool admin panel where you can configure everything.

Hi! I present to you the update of my AutoShop. A lot of work was done, the bot was completely rewritten from scratch. The bot is written using pyTelegramBotApi(telebot). The update added new features, improved existing ones, and optimized the operation of the bot itself. Example - @RedHouse_shop_bot

uFsyoBGS

New

  • Added language change feature
  • Viewing and receiving logs as a file or message
  • Fixed some bugs

Features

General

  • Information - an informative, changeable message with a prepared syntax.
  • Detailed information about the bot. (Number of users, products, positions, categories, profit)
  • A separate file with the bot settings. You don't have to go into the bot code. (config.py)
  • Automatic creation and configuration of the database (Database) when the bot is launched.
  • Support(contacts) - A button with the output of the administrator's contacts.
  • When the bot starts, the update is automatically checked.
  • A small design part (buttons, text).
  • Convenient and multifunctional admin panel.
  • Change of language (English and Russian are available)
  • Edit all buttons directly from the admin panel.
  • Sending logs (in file format or by message)
  • Payment systems are connected (Qiwi and BTC)

Payment systems:

  • If the user's QIWI wallet does not work when adding funds to the balance, the administrators will receive a notification.
  • When adding/changing a QIWI wallet, the bot automatically checks its functionality.
  • When displaying errors from QIWI, the bot decodes the error code into text.
  • You can choose the deposit method (by form, by number)
  • Change the QIWI wallet via the bot's admin panel
  • Checking the health of the QIWI wallet
  • View your QIWI wallet balance.
  • View your Coinbase balance.
  • Sending and receiving BTC.
  • Generating random BTC wallets.
  • Topping up your balance with BTC.

Products:

  • Commands for getting a list of all products, items, and categories
  • Convenient pages for scrolling through categories and positions.
  • Get a list of all products and categories.
  • Delete all products, items, and categories at once.
  • Mass and single loading of goods.

Installation Instructions

  1. Download Telegram
  2. Download Python 3.9.1
  3. Download, unpack the archive with the bot and open the file config.py
  4. Edit token and admin_id in config.py
  5. Edit .txt files: coinbase_api_key.txt, coinbase_api_secret.txt, edit_qiwi_money_number.txt and edit_qiwi_money_tokem.txt
  6. Open the command line (cmd), go to the directory with the bot and write:
pip install pyTelegramBotApi
pip install requests
pip install SimpleQIWI
python app.py

Congratulations! The bot is running. Very important! Do not delete the database.db file!

Coming soon

Features that will be added in the future:

  • Aiogram
  • Architecture of project

Requirements

F.A.Q



▉ ▉ ▉ ▉ ▉ ▉ Writes that the module was not found

                       Restart CMD after installing the module  



▉ ▉ ▉ ▉ ▉ ▉ What permissions are needed for QIWI

                       The first 3 permissions are enough  



▉ ▉ ▉ ▉ ▉ ▉ Can I add files?

                       Yes, you can add links to your files  



▉ ▉ ▉ ▉ ▉ ▉ How do I go to the directory with the bot?

                       Open the command line (cmd), write: cd path/to/folder/with/bot

Photos

D0CL3ztv ufkrB9sR nZ7U3J98 OPAYk8vO NWzQw3mz Q1ksaMjN

telegram-bot-shop's People

Contributors

famaxth avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

telegram-bot-shop's Issues

Бот

Бот автопродаж для запуска

URGENT!

Traceback (most recent call last):
File "C:\Users\audim\PycharmProjects\pythonProject19\app.py", line 28, in
bot = telebot.TeleBot(config.token, parse_mode=None)
TypeError: init() got an unexpected keyword argument 'parse_mode'

можно добавить новую функцию

А можно оплачивать как нибудь по другому в бтк. Что бы не пришлось использовать coinbase api. К примеру отслеживать поступившее пополнение бтк через coingecko ? или blockchain

Help

dmin@admins-MacBook-Air telegram-bot-shop % Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/collections/init.py
zsh: no such file or directory: Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/collections/init.py
(venv) admin@admins-MacBook-Air telegram-bot-shop %

HELP URGENT

Traceback (most recent call last):
File "C:\Users\audim\PycharmProjects\pythonProject19\app.py", line 2124, in callback_inline
balance = api.balance[0]
File "C:\Users\audim\PycharmProjects\pythonProject19\venv\lib\site-packages\SimpleQIWI\Session.py", line 80, in balance
balances = self.full_balance
File "C:\Users\audim\PycharmProjects\pythonProject19\venv\lib\site-packages\SimpleQIWI\Session.py", line 70, in full_balance
return self._get_balance()
File "C:\Users\audim\PycharmProjects\pythonProject19\venv\lib\site-packages\SimpleQIWI\Session.py", line 128, in get_balance
json = response.json()
File "C:\Users\audim\PycharmProjects\pythonProject19\venv\lib\site-packages\requests\models.py", line 819, in json
return json.loads(self.text, **kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Traceback (most recent call last):
File "C:\Users\audim\PycharmProjects\pythonProject19\app.py", line 2730, in callback_inline
test = int(call.data)
ValueError: invalid literal for int() with base 10: 'Check payment 2'

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.