Nmk399303 / FilesBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FiIesBot

Powerful bot for file sharing without any database

License: CC0 1.0 Universal (Public Domain)

Deploying

The Easy Way

Deploy

  • Important Step:
    • Change webhook of telegram bot https://api.telegram.org/bot<your-bot-token>/setWebhook?url=https://<yourappname>.herokuapp.com/

The Variables

  • TG_BOT_TOKEN:

  • TG_BOT_USERNAME:

    • your bot username, without the '@' symbol.
  • TG_DUMP_CHANNEL_ID:

    • create a Telegram Channel.
    • Add your bot, created in previous step to the Telegram Channel, (as an administrator).
    • Send a message in the Telegram Channel.
    • Right Click on the Message > Copy Link.
    • you will get a link in the format: https://t.me/c/12374356/3
    • the value -100 and 12374356 combined without spaces is the value of this KEY.
  • TG_AUTH_USERS:

    • send /id command to @googleIMGBot to get this value. [ atleast, two users are required ]
    • you can also set ALL value in this field, to give everyone access to your File Sharing RoBot.

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:PHP 100.0%