Stream Telegram files to web

Overview

Telegram File Stream Bot

Cover Image

A Telegram bot to stream files to web
Demo Bot »
Report a Bug | Request Feature


Table of Contents
  1. About this Bot
  2. How to make your own
  3. Setting up things
  4. How to use the bot
  5. Contributing
  6. Contact me
  7. Credits

About This Bot

Telegram Logo

This bot will give you stream links for Telegram files without the need of waiting till the download completes

Original Repository

The main working part was taken from Megatron and thanks to eyaadh for his awesome project.

How to make your own

Either you could locally host or deploy on Heroku

Deploy on Heroku

Press the below button to Fast deply to Heroky

Deploy

then goto the variables tab for more info on setting up environmental variables.

Host it on VPS or Locally

git clone https://github.com/EverythingSuckz/TG-FileStreamBot
cd TG-FileStreamBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 -m WebStreamer

and to stop the whole bot, do CTRL+C

Setting up things

If you're on Heroku, just add these in the Environmental Variables or if you're Locally hosting, create a file named .env in the root directory and add all the variables there. An example of .env file:

API_ID=452525
API_HASH=esx576f8738x883f3sfzx83
BOT_TOKEN=55838383:yourtbottokenhere
BIN_CHANNEL=-100
PORT=8080
FQDN=yourserverip

Mandatory Vars

API_ID : Goto my.telegram.org to obtain this.

API_HASH : Goto my.telegram.org to obtain this.

BOT_TOKEN : Get the bot token from @BotFather

BIN_CHANNEL : Create a new channel (private/public), add @missrose_bot as admin to the channel and type /id. Now copy paste the ID into this field.

Optional Vars

SLEEP_THRESHOLD : Set a sleep threshold for flood wait exceptions happening globally in this telegram bot instance, below which any request that raises a flood wait will be automatically invoked again after sleeping for the required amount of time. Flood wait exceptions requiring higher waiting times will be raised. Defaults to 60 seconds.

WORKERS : Number of maximum concurrent workers for handling incoming updates. Defaults to 3

PORT : The port that you want your webapp to be listened to. Defaults to 8080

WEB_SERVER_BIND_ADDRESS : Your server bind adress. Defauls to 0.0.0.0

NO_PORT : If you don't want your port to be displayed. You should point your PORT to 80 (http) or 443 (https) for the links to work. Ignore this if you're on Heroku.

FQDN : A Fully Qualified Domain Name if present. Defaults to WEB_SERVER_BIND_ADDRESS

How to use the bot

⚠️ Before using the bot, don't forget to add the bot to the BIN_CHANNEL as an admin

/start : To check if the bot is alive or not.

To get an instant stream link, just forward any media to the bot and boom, its fast af.

Contributing

Feel free to contribute to this project if you have any further ideas

Contact me

Telegram Channel Telegram Group

You can contact either via my Telegram Chat or you can PM me on @EverythingSuckz

Credits

Comments
  • multitoken mode does not work

    multitoken mode does not work

    .evn API_ID=1012***** API_HASH=ea8e8e41812****************** BOT_TOKEN=51304:AAGkmwTdRlcPSX************ MULTI_TOKEN1=525**0:AAF9or7yt4**** MULTI_TOKEN2=5130**4:AAGkmwTd**** BIN_CHANNEL=-1001651968922 PORT=8080 FQDN=domain name HAS_SSL=True NO_PORT=True

    only the main bot with BOT_TOKEN worked. another bots did not

    opened by lukemin 10
  • `TypeError: init() got an unexpected keyword argument 'name'`

    `TypeError: init() got an unexpected keyword argument 'name'`

    I'm using ubuntu 20.04 python 3.8 and when I start the bot for the first time this work fine. But after stop and start again I got the error.

    Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details import(pkg_name) File "/opt/TG-FileStreamBot/WebStreamer/init.py", line 7, in from WebStreamer.bot.clients import StreamBot File "/opt/TG-FileStreamBot/WebStreamer/bot/init.py", line 9, in StreamBot = Client( TypeError: init() got an unexpected keyword argument 'name'

    opened by samucamg 5
  • bot stopped

    bot stopped

    [24/03/2022 09:53:03][ERROR] => Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/aiohttp/web_protocol.py", line 334, in data_received messages, upgraded, tail = self._request_parser.feed_data(data) File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data aiohttp.http_exceptions.BadStatusLine: 400, message="Bad status line 'Invalid method encountered'" ps.

    1. files and videos sent before the occurred error can be downloaded via the generated links
    2. sending files and videos sent after the occurred error, the links cannot be generated
    3. after sending /start order to the tgbot, there is no any feedback.
    opened by lukemin 4
  • load distribution needs to be enhanced

    load distribution needs to be enhanced

    {"server_status": "running", "uptime": "3h: 3m: 59s", "telegram_bot": "@filetolinkprobot", "connected_bots": 11, "maintained by": "Adarsh Goel", "loads": {"bot1": 4, "bot2": 3, "bot3": 1, "bot4": 1, "bot5": 0, "bot6": 0, "bot7": 0, "bot8": 0, "bot9": 0, "bot10": 0, "bot11": 0}, "version": 2.2}

    starting from bot 5 all sleeping

    bot 1 highly tortured

    enhancement 
    opened by Adarsh-Goel 4
  • Unable to bind port in Heroku

    Unable to bind port in Heroku

    This error appears after I try to deploy a 1.06 version on Heroku (before this, my Heroku robot is 1.03 version) I am sure that the configured variables are normal, but it can't work properly on the web page.

    2021-12-16T08:51:08.099326+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
    2021-12-16T08:51:08.199735+00:00 heroku[web.1]: Stopping process with SIGKILL
    2021-12-16T08:51:08.336893+00:00 heroku[web.1]: Process exited with status 137
    2021-12-16T08:51:12.089398+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
    2021-12-16T08:51:12.122534+00:00 heroku[web.1]: Stopping process with SIGKILL
    2021-12-16T08:51:12.284490+00:00 heroku[web.1]: Process exited with status 137
    2021-12-16T08:51:12.435688+00:00 heroku[web.1]: State changed from starting to crashed
    2021-12-16T08:52:28.098971+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxx.herokuapp.com request_id=xxx-xxx-xxx-xxx fwd="x.x.x.x" dyno= connect= service= status=503 bytes= protocol=https
    2021-12-16T08:52:28.939020+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=xxx.herokuapp.com request_id=xxx-xxx-xxx-xxx fwd="1.0.0.1,x.x.x.x" dyno= connect= service= status=503 bytes= protocol=https
    
    bug 
    opened by 3JoB 3
  • Error when TG File Doesnot Have Filename

    Error when TG File Doesnot Have Filename

    When TG File doesnot have filename, bot will got error like this. How to fix it?

    2022-11-27T13:55:38.306946+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.10/urllib/parse.py", line 886, in quote_plus
    2022-11-27T13:55:38.306947+00:00 app[web.1]:     string = quote(string, safe + space, encoding, errors)
    2022-11-27T13:55:38.306947+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.10/urllib/parse.py", line 870, in quote
    2022-11-27T13:55:38.306947+00:00 app[web.1]:     return quote_from_bytes(string, safe)
    2022-11-27T13:55:38.306948+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.10/urllib/parse.py", line 895, in quote_from_bytes
    2022-11-27T13:55:38.306948+00:00 app[web.1]:     raise TypeError("quote_from_bytes() expected bytes")
    2022-11-27T13:55:38.306948+00:00 app[web.1]: TypeError: quote_from_bytes() expected bytes
    
    bug 
    opened by yasirarism 2
  • Deploy to koyeb

    Deploy to koyeb

    I've successfully deployed it in koyeb , but the problem is that the port 8080 is showing in the url , and I've tried to change the port to 443 but it doesn't work anymore , any idea how to fix it ? Capture

    opened by kaissimoha 2
  • Fixed BIN_CHANNEL delete problem, added more variables and much more

    Fixed BIN_CHANNEL delete problem, added more variables and much more

    Hello @EverythingSuckz, I'm using TG-FileStreamBot for a long time, but problem is whenever BIN_CHANNEL gets deleted, users lost all the links that they generated before and it's a big issue for those who generate multiple links and telegram deletes the BIN_CHANNEL, to fix this problem i've changed the working mechanism of bot now whenever user will request a file, bot will immediately sent it to BIN_CHANNEL and stream it. Isn't it interesting?

    Here is the list of changes i made.

    opened by TheHimanshuRastogi 2
  • removed MULTI_CLIENT from example .env

    removed MULTI_CLIENT from example .env

    • Removed MULTI_CLIENT=True It make's confusion and some people try to Disable MULTI_CLIENT by changing the Value to False in .env file which won't work
    • Changed \id to /id
    opened by DeekshithSH 2
  • quote_from_bytes() expected bytes

    quote_from_bytes() expected bytes

    Get Error Like This

    Traceback (most recent call last):
      File "/home/user/.local/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 222, in handler_worker
        await handler.callback(self.client, *args)
      File "/home/user/project/git/TelegramBot/TG-FileStreamBot/WebStreamer/bot/plugins/stream.py", line 42, in media_receive_handler
        stream_link = f"{Var.URL}{log_msg.message_id}/{quote_plus(get_name(m))}?hash={get_hash(log_msg)}"
      File "/usr/lib/python3.8/urllib/parse.py", line 867, in quote_plus
        string = quote(string, safe + space, encoding, errors)
      File "/usr/lib/python3.8/urllib/parse.py", line 851, in quote
        return quote_from_bytes(string, safe)
      File "/usr/lib/python3.8/urllib/parse.py", line 876, in quote_from_bytes
        raise TypeError("quote_from_bytes() expected bytes")
    TypeError: quote_from_bytes() expected bytes
    

    Happend with Video Generated Link for Photo why This Happening Both Video and Photo Don't have FileName

    bug 
    opened by DeekshithSH 2
  • Could not build wheels for tgcrypto, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

    Could not build wheels for tgcrypto, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

    Building wheels for collected packages: pyaes, tgcrypto, frozenlist, multidict, yarl
      Building wheel for pyaes (setup.py): started
      Building wheel for pyaes (setup.py): finished with status 'done'
      Created wheel for pyaes: filename=pyaes-1.6.1-py3-none-any.whl size=26347 sha256=d92a8d01a94078815ad6c8eff934a79088875712072f3f5b4c2b25a7f0bf5ed8
      Stored in directory: /root/.cache/pip/wheels/8d/24/e6/a6bac41c7b64fad71633e93db18cb8b3b62986bbd44daf0e0a
      Building wheel for tgcrypto (pyproject.toml): started
      Building wheel for tgcrypto (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
      
      × Building wheel for tgcrypto (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [22 lines of output]
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build/lib.linux-x86_64-cpython-311
          creating build/lib.linux-x86_64-cpython-311/tests
          copying tests/__init__.py -> build/lib.linux-x86_64-cpython-311/tests
          creating build/lib.linux-x86_64-cpython-311/tests/ctr
          copying tests/ctr/test_ctr.py -> build/lib.linux-x86_64-cpython-311/tests/ctr
          copying tests/ctr/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/ctr
          creating build/lib.linux-x86_64-cpython-311/tests/cbc
          copying tests/cbc/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/cbc
          copying tests/cbc/test_cbc.py -> build/lib.linux-x86_64-cpython-311/tests/cbc
          creating build/lib.linux-x86_64-cpython-311/tests/ige
          copying tests/ige/test_ige.py -> build/lib.linux-x86_64-cpython-311/tests/ige
          copying tests/ige/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/ige
          running build_ext
          building 'tgcrypto' extension
          creating build/temp.linux-x86_64-cpython-311
          creating build/temp.linux-x86_64-cpython-311/tgcrypto
          gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c tgcrypto/aes256.c -o build/temp.linux-x86_64-cpython-311/tgcrypto/aes256.o
          error: command 'gcc' failed: No such file or directory
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for tgcrypto
      Building wheel for frozenlist (pyproject.toml): started
      Building wheel for frozenlist (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
      
      × Building wheel for frozenlist (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [36 lines of output]
          *********************
          * Accelerated build *
          *********************
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build/lib.linux-x86_64-cpython-311
          creating build/lib.linux-x86_64-cpython-311/frozenlist
          copying frozenlist/__init__.py -> build/lib.linux-x86_64-cpython-311/frozenlist
          running egg_info
          writing frozenlist.egg-info/PKG-INFO
          writing dependency_links to frozenlist.egg-info/dependency_links.txt
          writing top-level names to frozenlist.egg-info/top_level.txt
          reading manifest file 'frozenlist.egg-info/SOURCES.txt'
          reading manifest template 'MANIFEST.in'
          warning: no previously-included files matching '*.pyc' found anywhere in distribution
          warning: no previously-included files matching '*.pyd' found anywhere in distribution
          warning: no previously-included files matching '*.so' found anywhere in distribution
          warning: no previously-included files matching '*.lib' found anywhere in distribution
          warning: no previously-included files matching '*.dll' found anywhere in distribution
          warning: no previously-included files matching '*.a' found anywhere in distribution
          warning: no previously-included files matching '*.obj' found anywhere in distribution
          warning: no previously-included files found matching 'frozenlist/*.html'
          no previously-included directories found matching 'docs/_build'
          adding license file 'LICENSE'
          writing manifest file 'frozenlist.egg-info/SOURCES.txt'
          copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-cpython-311/frozenlist
          copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-cpython-311/frozenlist
          copying frozenlist/py.typed -> build/lib.linux-x86_64-cpython-311/frozenlist
          running build_ext
          building 'frozenlist._frozenlist' extension
          creating build/temp.linux-x86_64-cpython-311
          creating build/temp.linux-x86_64-cpython-311/frozenlist
          gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-cpython-311/frozenlist/_frozenlist.o
          error: command 'gcc' failed: No such file or directory
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for frozenlist
      Building wheel for multidict (pyproject.toml): started
      Building wheel for multidict (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
      
      × Building wheel for multidict (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [62 lines of output]
          *********************
          * Accelerated build *
          *********************
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build/lib.linux-x86_64-cpython-311
          creating build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/__init__.py -> build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/_abc.py -> build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/_multidict_base.py -> build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/_compat.py -> build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/_multidict_py.py -> build/lib.linux-x86_64-cpython-311/multidict
          running egg_info
          writing multidict.egg-info/PKG-INFO
          writing dependency_links to multidict.egg-info/dependency_links.txt
          writing top-level names to multidict.egg-info/top_level.txt
          reading manifest file 'multidict.egg-info/SOURCES.txt'
          reading manifest template 'MANIFEST.in'
          warning: no previously-included files matching '*.pyc' found anywhere in distribution
          warning: no previously-included files found matching 'multidict/_multidict.html'
          warning: no previously-included files found matching 'multidict/*.so'
          warning: no previously-included files found matching 'multidict/*.pyd'
          warning: no previously-included files found matching 'multidict/*.pyd'
          no previously-included directories found matching 'docs/_build'
          adding license file 'LICENSE'
          writing manifest file 'multidict.egg-info/SOURCES.txt'
          /tmp/pip-build-env-ld6v1w39/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'multidict._multilib' as data is deprecated, please list it in `packages`.
              !!
          
          
              ############################
              # Package would be ignored #
              ############################
              Python recognizes 'multidict._multilib' as an importable package,
              but it is not listed in the `packages` configuration of setuptools.
          
              'multidict._multilib' has been automatically added to the distribution only
              because it may contain data files, but this behavior is likely to change
              in future versions of setuptools (and therefore is considered deprecated).
          
              Please make sure that 'multidict._multilib' is included as a package by using
              the `packages` configuration field or the proper discovery methods
              (for example by using `find_namespace_packages(...)`/`find_namespace:`
              instead of `find_packages(...)`/`find:`).
          
              You can read more about "package discovery" and "data files" on setuptools
              documentation page.
          
          
          !!
          
            check.warn(importable)
          copying multidict/__init__.pyi -> build/lib.linux-x86_64-cpython-311/multidict
          copying multidict/py.typed -> build/lib.linux-x86_64-cpython-311/multidict
          running build_ext
          building 'multidict._multidict' extension
          creating build/temp.linux-x86_64-cpython-311
          creating build/temp.linux-x86_64-cpython-311/multidict
          gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c multidict/_multidict.c -o build/temp.linux-x86_64-cpython-311/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
          error: command 'gcc' failed: No such file or directory
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for multidict
      Building wheel for yarl (pyproject.toml): started
      Building wheel for yarl (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error
      
      × Building wheel for yarl (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [40 lines of output]
          /tmp/pip-build-env-zicgiadr/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
            warnings.warn(msg, warning_class)
          **********************
          * Accelerated build *
          **********************
          running bdist_wheel
          running build
          running build_py
          creating build
          creating build/lib.linux-x86_64-cpython-311
          creating build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/_url.py -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/_quoting_py.py -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/__init__.py -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/_quoting.py -> build/lib.linux-x86_64-cpython-311/yarl
          running egg_info
          writing yarl.egg-info/PKG-INFO
          writing dependency_links to yarl.egg-info/dependency_links.txt
          writing requirements to yarl.egg-info/requires.txt
          writing top-level names to yarl.egg-info/top_level.txt
          reading manifest file 'yarl.egg-info/SOURCES.txt'
          reading manifest template 'MANIFEST.in'
          warning: no previously-included files matching '*.pyc' found anywhere in distribution
          warning: no previously-included files matching '*.cache' found anywhere in distribution
          warning: no previously-included files found matching 'yarl/*.html'
          warning: no previously-included files found matching 'yarl/*.so'
          warning: no previously-included files found matching 'yarl/*.pyd'
          no previously-included directories found matching 'docs/_build'
          adding license file 'LICENSE'
          writing manifest file 'yarl.egg-info/SOURCES.txt'
          copying yarl/__init__.pyi -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/_quoting_c.pyi -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/_quoting_c.pyx -> build/lib.linux-x86_64-cpython-311/yarl
          copying yarl/py.typed -> build/lib.linux-x86_64-cpython-311/yarl
          running build_ext
          building 'yarl._quoting_c' extension
          creating build/temp.linux-x86_64-cpython-311
          creating build/temp.linux-x86_64-cpython-311/yarl
          gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c yarl/_quoting_c.c -o build/temp.linux-x86_64-cpython-311/yarl/_quoting_c.o
          error: command 'gcc' failed: No such file or directory
          [end of output]
      
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for yarl
    ERROR: Could not build wheels for tgcrypto, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects
    

    I am unable to fix this issue using Docker

    opened by PBhadoo 1
  • Container keeps on restarting

    Container keeps on restarting

    Hello. I try to deploy bot on my vps using docker. I created a config.env containing the variables set in the TG-FileStreamBot folder and start my container. However the bot is not responding. Check docker ps again, the status of the container shows Restarting (1) ... seconds ago.

    [email protected]:~/TG-FileStreamBot# docker run -d --restart unless-stopped --name fsb
    -v /PATH/TO/.env:/app/.env
    -p 8000:8000
    stream-bot 433df2b431d11f057b4aa993ed0c5e2228cb09d13ae3dfeb3a9b5fe93809d272

    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 433df2b431d1 stream-bot "python3 -m WebStrea…" 10 minutes ago Restarting (1) 57 seconds ago fsb

    help wanted inspecting 
    opened by nnhieu97 0
  • Error: 420 FLOOD_WAIT

    Error: 420 FLOOD_WAIT

    Just updated the codes, and after restarted, it returned the error logs: [ERROR] ==> Telegram says: [420 FLOOD_WAIT_X] - A wait of 2838 seconds is required (caused by "auth.ImportBotAuthorization")

    Is it common for those who have updated it? Is there any way to fix it? Thanks!

    opened by qiangweihewu 1
  • How to make it work in group chat?

    How to make it work in group chat?

    Hi there! Thanks for your project! I just wonder whether it is possible to make this bot work in group chat? I tried to add it to a group and made it as admin, also I have disabled the privacy function in botfather, but it just couldn't respond with a download link after the group member send a file in the chat. Could you give some instructions? Thanks a lot!

    enhancement todo 
    opened by qiangweihewu 4
Releases(v2.22)
Owner
Wrench
AFK...................
Wrench
This repository contains code written in the AWS Cloud Development Kit (CDK)

This repository contains code written in the AWS Cloud Development Kit (CDK) which launches infrastructure across two different regions to demonstrate using AWS AppSync in a multi-region setup.

AWS Samples 5 Jun 03, 2022
An unofficial client library for Google Music.

gmusicapi: an unofficial API for Google Play Music gmusicapi allows control of Google Music with Python. from gmusicapi import Mobileclient api = Mob

Simon Weber 2.5k Dec 15, 2022
SpotPlay2YouPlay - Converts new additions to a Spotify playlist to a matching Youtube playlist

SpotPlay2YouPlay - Converts new additions to a Spotify playlist to a matching Youtube playlist, can also be configured to converting whole playlists with the refresh fun

9 Mar 06, 2022
A collection of scripts to steal BTC from Lightning Network enabled custodial services. Only for educational purpose! Share your findings only when design flaws are fixed.

Lightning Network Fee Siphoning Attack LN-fee-siphoning is a collection of scripts to subtract BTC from Lightning Network enabled custodial services b

Reckless_Satoshi 14 Oct 15, 2022
A little proxy tool based on Tencent Cloud Function Service.

SCFProxy 一个基于腾讯云函数服务的免费代理池。 安装 python3 -m venv .venv source .venv/bin/activate pip3 install -r requirements.txt 项目配置 函数配置 开通腾讯云函数服务 在 函数服务 新建 中使用自定义

Mio 716 Dec 26, 2022
Um simples bot público para todos usarem no discord!

Discord Bot - Código Público Características: Linguagem de Programação: Python Quantidade de comandos: 17 Comandos: Prefixo do bot: O prefixo desse bo

Kevin 3 Dec 31, 2021
First Party data integration solution built for marketing teams to enable audience and conversion onboarding into Google Marketing products (Google Ads, Campaign Manager, Google Analytics).

Megalista Sample integration code for onboarding offline/CRM data from BigQuery as custom audiences or offline conversions in Google Ads, Google Analy

Google 76 Dec 29, 2022
A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier

A suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier

Amazon Web Services - Labs 1.9k Jan 07, 2023
Bulk convert image types with Python

Bulk Image Converter 🔥 Helper script to convert a folder's worth of images from one filetype to another, and optionally delete originals Use Setup /

1 Nov 13, 2021
Modified Version Of Media Search bot

Modified Version Of Media Search bot

1 Oct 09, 2021
Python package and CLI for user-friendly integration with SAS Viya

sasctl A user-friendly Python interface for SAS Viya. Full documentation: https://sassoftware.github.io/python-sasctl Table of Contents Overview Prere

SAS Software 30 Dec 14, 2022
An API Client package to access the APIs for NBA.com

nba_api An API Client package to access the APIs for NBA.com Development Version: v1.1.9 nba_api is an API Client for www.nba.com. This package is mea

Swar Patel 1.4k Jan 01, 2023
A python library for creating Slack slash commands using AWS Lambda Functions

slashbot Slashbot makes it easy to create slash commands using AWS Lambda functions. These can be handy for creating a secure way to execute automated

Eric Brassell 17 Oct 21, 2022
discord.py bot written in Python.

bakerbot Bakerbot is a discord.py bot written in Python :) Originally made as a learning exercise, now used by friends as a somewhat useful bot and us

8 Dec 04, 2022
Client library for accessing IQM quantum computers

IQM Client Client-side library for connecting to an IQM quantum computer. Installation IQM client is not intended to be used directly by human users.

IQM 10 Dec 21, 2022
Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot)

Bot_ROTMG Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot) *Este projeto visa apenas o aprendizado, quem faz mal uso é o único

Guilherme Silva Uchoa 1 Oct 30, 2021
The Github repository for the Amari API wrapper.

Amari.py Amari.py is an async, easy to use API wrapper for the AmariBot. Installation Enter any of these commands to install the library: pip install

TheF1ng3r 5 Dec 19, 2022
DeKrypt 24 Sep 21, 2022
Generate visualizations of GitHub user and repository statistics using GitHubActions

GitHub Stats Visualization Generate visualizations of GitHub user and repository

Jun Shi 3 Dec 15, 2022
Telegram bot to host python bots

Host-Bot Setup the api Upload the flask api on your host #its not important to do #i used it just for simple captcha system + save ids on your host!

Plugin 15 Feb 11, 2022