Files
limoka/hikariatama/ftg/premium_sticks.py
2025-07-10 21:02:34 +03:00

36 lines
974 B
Python
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# █ █ ▀ █▄▀ ▄▀█ █▀█ ▀
# █▀█ █ █ █ █▀█ █▀▄ █
# © Copyright 2022
# https://t.me/hikariatama
#
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# meta pic: https://0x0.st/ojP2.png
# meta banner: https://mods.hikariatama.ru/badges/premium_sticks.jpg
# meta developer: @hikarimods
import random
from telethon.tl.types import Message
from .. import loader
@loader.tds
class PremiumStickersMod(loader.Module):
"""Sends premium stickers for free"""
strings = {"name": "PremiumStickers"}
async def premstickcmd(self, message: Message):
"""Send random premium sticker without premium"""
if message.out:
await message.delete()
await message.respond(
(
f'<a href="https://t.me/hikka_premum_stickers/{random.randint(2, 106)}">­</a>'
),
)