mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-16 14:34:17 +02:00
36 lines
974 B
Python
36 lines
974 B
Python
# █ █ ▀ █▄▀ ▄▀█ █▀█ ▀
|
||
# █▀█ █ █ █ █▀█ █▀▄ █
|
||
# © 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>'
|
||
),
|
||
)
|