# █ █ ▀ █▄▀ ▄▀█ █▀█ ▀
# █▀█ █ █ █ █▀█ █▀▄ █
# © Copyright 2022
# https://t.me/hikariatama
#
# 🔒 Licensed under the GNU AGPLv3
# 🌐 https://www.gnu.org/licenses/agpl-3.0.html
# scope: hikka_min 1.2.10
# meta pic: https://img.icons8.com/color/480/000000/dota.png
# meta banner: https://mods.hikariatama.ru/badges/inline_ghoul.jpg
# meta developer: @hikarimods
# scope: inline
# scope: hikka_only
from telethon.tl.types import Message
from .. import loader
@loader.tds
class InlineGhoulMod(loader.Module):
"""Non-spammy ghoul module"""
strings = {"name": "InlineGhoul", "tired": "😾 Tired of counting!"}
strings_ru = {
"tired": "😾 Я устал считать!",
"_cmd_doc_ghoul": "Отправляет сообщение Гуля",
"_cls_doc": "Неспамящий модуль Гуль",
}
async def ghoulcmd(self, message: Message):
"""Sends ghoul message"""
await self.animate(
message,
[f"👊 {x} - 7 = {x - 7}" for x in range(1000, 900, -7)]
+ [self.strings("tired")],
interval=1,
inline=True,
)