From ab479d4869527e02a85ab942a29f0761164962cf Mon Sep 17 00:00:00 2001 From: Who? <155328415+coddrago@users.noreply.github.com> Date: Wed, 9 Jul 2025 07:16:47 +0000 Subject: [PATCH] test --- heroku/modules/inline_stuff.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/heroku/modules/inline_stuff.py b/heroku/modules/inline_stuff.py index 007ac2a..56a9466 100644 --- a/heroku/modules/inline_stuff.py +++ b/heroku/modules/inline_stuff.py @@ -19,6 +19,8 @@ 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 @@ -139,7 +141,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
prefix: {prefix}\nRAM: {ram_usage} MB\nCPU: {cpu_usage}\nHosting: {host}\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=[{"text": "Restart", "callback": self.restart}]) + await message.answer("Your information about userbot:\n
prefix: {prefix}\nRAM: {ram_usage} MB\nCPU: {cpu_usage}\nHosting: {host}\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(reply_markup=[{"text": "Restart", "callback": self.restart}])) async def restart(self, call: InlineCall): await call.edit("just test restarta")