то депай все

pull/160/head
Who? 2025-07-09 08:44:44 +00:00
parent 34f8ed45c7
commit e7b7cf03f7
1 changed files with 1 additions and 1 deletions

View File

@ -138,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 = self.inline.generate_markup(markup_obj=[[{"text": "Restart", "callback": self.restart},{"text": "Reset prefix", "callback": self.reset_prefix}]]))
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, "args": (message,)}],[{"text": "Reset prefix", "callback": self.reset_prefix}]]))
async def restart(self, call: InlineCall, message):
await call.edit("just test restarta")