Giter VIP home page Giter VIP logo

stickerpek_bot's Introduction

Sticker thief bot

I made this bot because I was exausted of wasting my time looking for that perfect sticker to use among all my installed packs.

Features:

  • create stickerpacks
  • add stickers to an existing pack just by sending other stickers (png files are accepted too)
  • automatically resize png files so they can fit Telegram's rateo size requirements
  • remove stickers from a pack
  • convert stickers to png files (and resize them if they're too big)
  • export a sticker pack as a zip of png files

Disclaimer

Using this kind of bots is an horrible solution. You are taking away from the community content made by other users to anonymize it by including it in your custom packs. This strongly arms good packs' sharing - and sometimes stickers appropriation may also fall into copyright infringement.

If you respect other people's work, want to give credits to the original pack creators and want to share the packs from which you took your favourite stickers, please use @MyPackBot. I can guarantee you this bot is great

Running the bot

  1. install requirements with pip3 install -r requirements.txt
  2. rename config.example.toml to config.toml and change relevant values (that is, telegram.token and telegram.admins)
  3. run the bot with python3 main.py

Notes for those who are going to run this

This bot is not made to be used by a large amount of users. It stores data into an SQLite database, to which we're not even peristently connected. I don't grant performances.

By default, everyone can use this bot (with the exception of some special commands, listed below). If you want to restrict its use to only the users listed in telegram.admins (condfig.toml file), open config.toml and change telegram.admins_only to true.

There are also some commands that can be used only by the admins of the bot:

  • /deltmp: clean up all the files stored in the tmp/ directory

I also noticed PIL has some issues converting some wepb files to png when running on Windows.

stickerpek_bot's People

Contributors

ganeshi4u avatar

Watchers

 avatar  avatar  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.