mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-18 15:14:18 +02:00
Commited backup
This commit is contained in:
35
hikariatama/ftg/premium_sticks.py
Normal file
35
hikariatama/ftg/premium_sticks.py
Normal file
@@ -0,0 +1,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>'
|
||||
),
|
||||
)
|
||||
Reference in New Issue
Block a user