All Projects β†’ toby3d β†’ Mypackbot

toby3d / Mypackbot

Licence: apache-2.0
πŸ€– Your own unlimited pack of Telegram-stickers

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Mypackbot

Informer
A Telegram Mass Surveillance Bot in Python
Stars: ✭ 745 (+4038.89%)
Mutual labels:  telegram-bot-api, telegram-api, bot, telegram-bot, telegram
Java Telegram Bot Api
Telegram Bot API for Java
Stars: ✭ 819 (+4450%)
Mutual labels:  telegram-bot-api, telegram-api, bot, telegram-bot, telegram
Telegram Api
Complete async capable Telegram bot API implementation for PHP7
Stars: ✭ 650 (+3511.11%)
Mutual labels:  telegram-api, bot-api, telegram-bot, telegram
Telegram Bot Sdk
πŸ€– Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+12188.89%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Pytelegrambotapi
Python Telegram bot api.
Stars: ✭ 4,986 (+27600%)
Mutual labels:  telegram-bot-api, bot-api, telegram-bot, telegram
Telegram
Telegram Bot API Wrapper for Scala
Stars: ✭ 310 (+1622.22%)
Mutual labels:  telegram-bot-api, telegram-api, telegram-bot, telegram
Zanzara
Asynchronous PHP Telegram Bot Framework built on top of ReactPHP
Stars: ✭ 107 (+494.44%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Groupbutler
This bot can help you in managing your group with rules, anti-flood, description, custom triggers, and much more!
Stars: ✭ 399 (+2116.67%)
Mutual labels:  telegram-api, bot, telegram-bot, telegram
Spytrojan keylogger
[Solo para programadores] Troyano espΓ­a | Keylogger solo para Windows, se replica en el sistema y se inicia automaticamente al iniciar sesiΓ³n. | EnvΓ­o de registro mediante [Base de Datos], [Gmail] o [BotTelegram].
Stars: ✭ 32 (+77.78%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
grouphelperbot
A Telegram Bot made to help group admins, with Italian/English support.
Stars: ✭ 26 (+44.44%)
Mutual labels:  telegram-bot, bot-api, telegram-api, telegram-bot-api
Tgbot Cpp
C++ library for Telegram bot API
Stars: ✭ 439 (+2338.89%)
Mutual labels:  telegram-api, bot, telegram-bot, telegram
Telebot.nim
Async client for Telegram Bot API in pure Nim [Bot API 5.1]
Stars: ✭ 93 (+416.67%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Telebot
The easy way to write Telegram bots in Node.js
Stars: ✭ 1,096 (+5988.89%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Telegram.bot
.NET Client for Telegram Bot API
Stars: ✭ 1,964 (+10811.11%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (+194.44%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (+816.67%)
Mutual labels:  telegram-bot-api, bot, telegram-bot, telegram
Telegram Bot Api
First Telegram Bot API node.js library
Stars: ✭ 205 (+1038.89%)
Mutual labels:  telegram-api, bot, telegram-bot, telegram
Core
PHP Telegram Bot based on the official Telegram Bot API
Stars: ✭ 2,899 (+16005.56%)
Mutual labels:  telegram-api, bot-api, telegram-bot, telegram
Python Telegram
Python client for the Telegram's tdlib
Stars: ✭ 246 (+1266.67%)
Mutual labels:  telegram-bot-api, telegram-api, telegram-bot, telegram
telegram
πŸ“š Golang bindings for Telegram API
Stars: ✭ 15 (-16.67%)
Mutual labels:  telegram-bot, bot-api, telegram-api, telegram-bot-api

@MyPackBot discord

License Build Status Go Report Release Patreon

bot logo

Wat?

This is a Telegram-bot that collects all the stickers sent to it in one (almost) infinite pack. No more, no less.

Benefits:

  • Does not require creation of a set with a unique URL and/or name;
  • Indeed (almost) unlimited pack size;
  • Keeps stickers belonging to their original sets;
  • Fully support the standard functionality of Telegram stickers (for example "add to favorites");
  • Avaliable anywhere in Telegram by typing @MyPackBot in the input field;
  • Supports filtering of results by emoji's: @MyPackBot πŸ˜€πŸ‘;
  • Fast as f***king Sonic;
  • Worked with uploadable WebP stickers;
  • Worked with blocked by rightholders sets (but this is not exact);

Disadvantages:

  • Requires type @MyPackBot in the input field;
  • Availability depends on the internet connection and bot uptime;
  • Supports search/filtering only for first emoji associated with sticker;
  • Does not support synchronization of the updated original set contents with the saved set contents in the bot.

Why?

Because Telegram native tools for managing stickers are somewhat limited:

  • User can have only up to 200 active stickers sets;
  • In one set can be uploaded up to 120 stickers;
  • User can have only up to 5 favorites stickers;

Having done simple mathematical calculations, we can assume that the maximum user capacity (when he has the maximum number of sets, each of which contains the maximum number of stickers) is equal 24,000 stickers.

But, as usual, there are problems:

  • Most of the sets are incomplete and contain less than 120 stickers (sometimes - only 1-3 stickers on whole set);
  • Some sets contains junk, duplicated and promotional stickers;
  • Sometimes user want use own stickers by uploading WebP files, but without creating new sticker set;
  • Anyway, user just want have as many stickers as he want;

To solve these problems, this bot was designed.

How?

tl;dr

  • Telegram API supports stickers as results in inline query;
  • Telegram API allows to use someone else's FileID for results;
  • It is not necessary to create a new set using Telegram, since it only "references" existing files;
  • Bot saves only user info, sticker and name of his set in the database if user upload custom sticker or send/forward already existing;
  • Database architecture allows to filter keys by user ID and sort them by set name and emoji value;
  • When requesting inline query, bot simply create results from filtered database keys;
  • ???????
  • PROFIT!!1

Step-by-step

I'm too lazy to write, so just check the source code for the comments. πŸ‘€

Dependencies

Bot uses the following dependencies:

  • Written on Go language, because I <3 Go;
  • I ventured to migrate to my own telegram package to win in convenience and productivity;
  • I use dlog for debugging without spamming on production server by use only one build flag;
  • Data of users and stickers save thanks to BuntDB;

Support

GitHub

You can request fix/add some things, make a patch or help with translation and localization on your language.

Ah, and star this repo, of course.

Patreon

I work on my own projects in my free time. Please think about the financial support for my independence so that I can devote more time to this bot and other projects. In exchange for an award!

Social

Subscribe, follow my resources and feel free to maintain contact with me: https://toby3d.github.io

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].