Skip to content

Advanced Multi-Featured Telegram UserBot, Built in Python Using Telethon lib.

License

Notifications You must be signed in to change notification settings

itzNightmare17/Oreo

Repository files navigation

Logo

OreO - UserBot

A stable pluggable Telegram userbot + Voice & Video Call music bot, based on Telethon.

Stars Forks Size
Python Maintenance Open Source Love svg2 Contributors PRs Welcome License

Local / VPS Deploy

  • Get your Necessary Variables
  • Clone the repository:
    • git clone https://github.com/itzNightmare17/Oreo oreo
  • Go to the cloned folder:
    • cd oreo
  • Create a virtual env:
    • virtualenv -p /usr/bin/python3 venv

    • . ./venv/bin/activate

  • Install the requirements:
    • pip(3) install -r reso*/star*/optional-requirements.txt

    • pip(3) install -r requirements.txt

  • Generate your SESSION:
  • Fill your details in a .env file, as given in .env.sample. (You can either edit and rename the file or make a new file named .env.)
  • Make screen:
    • screen -S oreo
  • Run the bot:
    • Linux Users: bash startup
    • ubuntu users: python(3) -m pyOreo
    • Windows Users: python(3) -m pyOreo
  • Detach screen:
    • Ctrl+A & Ctrl+D

Necessary Variables

  • SESSION - SessionString for your accounts login session. Get it from @StringFatherBot

One of the following database:

  • For Redis (tutorial here)
    • REDIS_URI - Redis endpoint URI, from redislabs.
    • REDIS_PASSWORD - Redis endpoint Password, from redislabs.
  • For MONGODB
  • For SQLDB

License

License
OreO is licensed under GNU Affero General Public License v3 or later.


Credits

Made with 💕 by @bad_OreO