если хочешь депнуть мне

pull/160/head
Who? 2025-07-09 07:38:29 +00:00
parent 2b4e163b51
commit 64ace3526a
1 changed files with 1 additions and 4 deletions

View File

@ -19,9 +19,6 @@ from herokutl.tl.types import Message
from .. import loader, utils
from ..inline.types import BotInlineMessage, InlineCall
from ..inline.utils import Utils
inlineUtils=Utils()
@loader.tds
class InlineStuff(loader.Module):
@ -141,7 +138,7 @@ class InlineStuff(loader.Module):
if message.from_user.id != self.client.tg_id:
await message.answer("You are not allowed to use this")
else:
await message.answer("Your information about userbot:\n<blockquote>prefix: {prefix}\nRAM: {ram_usage} MB\nCPU: {cpu_usage}\nHosting: {host}</blockquote>\n\nThis Beta!".format(prefix=self.get_prefix(),ram_usage=utils.get_ram_usage(),cpu_usage=utils.get_cpu_usage(),host=utils.get_named_platform()), reply_markup = inlineUtils.generate_markup(markup_obj=[[{"text": "Restart", "callback": self.restart}]]))
await message.answer("Your information about userbot:\n<blockquote>prefix: {prefix}\nRAM: {ram_usage} MB\nCPU: {cpu_usage}\nHosting: {host}</blockquote>\n\nThis Beta!".format(prefix=self.get_prefix(),ram_usage=utils.get_ram_usage(),cpu_usage=utils.get_cpu_usage(),host=utils.get_named_platform()), reply_markup = self.inline.generate_markup(markup_obj=[[{"text": "Restart", "callback": self.restart}]]))
async def restart(self, call: InlineCall):
await call.edit("just test restarta")