GithubHelp home page GithubHelp logo

itsviiruz / userbot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yesrab/userbot

0.0 0.0 0.0 66 KB

Telegram userbot based on Telethon.

Home Page: https://t.me/ShanuTheFlash

License: The Unlicense

Python 100.00%

userbot's Introduction

Telegram-UserBot Build Status

Just coz I'm too lazy, I program it, to make stuff easier. This is a userbot, which is equivalent to a telegram client, and it can run on the cloud too.

Before you start:

Get your api-id(API_KEY in my code), API_HASH from my.telegram.org.

Running on heroku:

If you clone/fork this repo please make sure you delete session_name.session and regenerate it by running app.py on your local pc before deploying it on heroku.

  • Fork my repo.

  • Download/Clone it in your linux PC, then follow instructions on Running on linux(below), this will generate a session_name.session file, which is needed to run your bot, push this file to your git.

  • Connect your git to heroku.

  • Add API_KEY and API_HASH in CONFIG VARS.

  • Deploy.

Running on linux:

  • Clone my repo: git clone https://github.com/shanuflash/userbot

  • Install the necessary dependencies by moving to the project directory and running: pip3 install -r requirements.txt

  • Add your API_KEY and API_HASH: export API_HASH=your-api-hash and export API_KEY=your-api-id

  • Start the userbot: python3 app.py

Commands available(incomplete):

  • .delmsg: Deletes the last typed message

  • .purgeme number: Deletes last n messages sent by you

  • .vapor: Change the font to an aesthetic font.

  • .cp: CopyPasta, as in SkittlesBot

  • .trt: Google Translator, translates only to english

  • .tts: Google Text to Speech

  • .react: Sends a random ascii emote

  • .editme: Edits the last sent message with the string in the parameter

  • .pingme: Pings you

  • .iamafk: Sets you as AFK

  • .notafk: Sets you as not AFK, and gives you brief list if who messaged you while you were away

  • .ud: Query urban dictionary

  • .google: Query Google

  • .wiki: Query Wikipedia and get a summary

  • .sd: Send a self-destructing message

  • .eval: Evaluate the given expression

  • .fastpurge: Purge like marie

  • .spam number string: Spams the string n times

  • .exec: Execute a python command

Clone this and try to add features to it, make pull requests to merge it ;)

userbot's People

Contributors

baalajimaestro avatar shanuflash avatar

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.