Skip to content

A Telegram bot that replaces faces with pixels, cats, skull of satoshi or a liotta

Notifications You must be signed in to change notification settings

arbadacarbaYK/Pixelbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pixelbot

A Telegram bot that replaces faces with pixels, skull of satoshi, liotta faces, clowns or random cat-pics and can run via github actions or in a local VM.

Screenshot 2023-12-07 at 13 48 39 Screenshot 2023-12-07 at 13 48 12 Screenshot 2023-12-07 at 13 48 05 photo_2024-05-24_22-47-22 Screenshot 2023-12-07 at 12 48 05 Screenshot 2023-12-07 at 12 48 05 Screenshot 2023-12-07 at 12 48 05

Behaviour in a DM with the bot

  • on first button-press the original pic disappears
  • a keyboard with buttons pops up
  • choose an option to get an obfuscated version
  • press those buttons until happy with the result

Behaviour in groupchats where the bot is added

  • bot does not detect faces or react to pics
  • unless any user replies to a pic with the command /pixel
  • the keyboard with buttons pops up and every user can use them
  • cancel option removes the buttons (and leaves pic untouched)
Screenshot 2024-05-26 at 06 20 45 Screenshot 2024-05-26 at 06 20 57

Install as github action

  • Fork
  • Set up a repo secret in your repo under settings -> secrets -> actions -> TELEGRAM_BOT_TOKEN -> [yourtoken]
  • go to Actions and run

Every change in code will trigger a new action to run. Go to actions before updating your code and cancel the running thread.

Screenshot 2023-12-05 at 20 18 28

It will then self-build up all dependencies given in requirements.txt and run the bot :) Enjoy.

Screenshot 2023-12-05 at 20 18 36 Screenshot 2023-12-05 at 20 18 47

To Do

  • catch more faces
  • support more input formats
  • moooooaaar masks

If you like this bot ⚡️tip me here

image

About

A Telegram bot that replaces faces with pixels, cats, skull of satoshi or a liotta

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages