Giter Club home page Giter Club logo

aleato_bot's Introduction

🤖 Aléato - @alea_bot

A Simple Telegram Bot that allows you to randomize. A lot.

Python Badge

⚠️ Disclaimer

Since the Telegram API restrict a lot of Bot actions, this Bot uses both a 'Bot connection' AND an 'User connection'.

For the Bot to work perfectly you will need to have both your Bot AND the User used for the server in the channel where the Bot will be used.

The User doesn't need to have high privileges in most cases but the Bot needs to be an Administrator.

The first time you'll launch the server, Telethon will ask you for your Phone Number, 2FA Code and Password. Those informations will be crypted by Telethon into a .session file.

⚙️ Make rules

  • run: Runs the Bot's server
  • help: Show this help.
  • help-md: Show this help but in a markdown styled way. This can be used when updating the Makefile to generate documentation and simplify README.md's 'Make rules' section update.
  • autophony: Generate a .PHONY rule for your Makefile using all rules in the Makefile(s).
  • venv: Generate a Python Virtual Environnement and install all needed packages.
  • freeze: Freeze all the packages into the files used to create the virtual environnement.
  • info: Display information about the Virtual Environnement.
  • clean: Clean all the generated files and folders.

🔒 Secrets

  • API_ID and API_HASH can be acquired when registering to The Telegram Apps Website.
  • API_TOKEN can be acquired by creating a bot thanks to @BotFather on Telegram.
  • USER_SESSION and BOT_SESSION are the name of the .session files generated by Telethon.

Dependencies

Gitmoji

aleato_bot's People

Contributors

kori-san avatar

Stargazers

 avatar

Watchers

 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.