added photo

pull/160/head
Who? 2025-07-10 07:18:34 +00:00
parent f0a1ff4bc9
commit 9a042c489a
1 changed files with 3 additions and 2 deletions

View File

@ -138,8 +138,9 @@ class InlineStuff(loader.Module):
if message.from_user.id != self.client.tg_id: if message.from_user.id != self.client.tg_id:
await message.answer("❌ You are not allowed to use this") await message.answer("❌ You are not allowed to use this")
else: else:
await message.answer( await message.answer_photo(
self.strings["profile_cmd"].format(prefix=self.get_prefix(),ram_usage=utils.get_ram_usage(),cpu_usage=utils.get_cpu_usage(),host=utils.get_named_platform()), "https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/start_cmd.png",
caption = self.strings["profile_cmd"].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( reply_markup = self.inline.generate_markup(
markup_obj=[ markup_obj=[
[ [