-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpremium_sticks.py
35 lines (26 loc) · 974 Bytes
/
premium_sticks.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# █ █ ▀ █▄▀ ▄▀█ █▀█ ▀
# █▀█ █ █ █ █▀█ █▀▄ █
# © 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>'
),
)