pull/160/head
Who? 2025-07-09 06:10:19 +00:00
parent 404a98443b
commit aedf88f24a
1 changed files with 3 additions and 2 deletions

View File

@ -136,7 +136,8 @@ class InlineStuff(loader.Module):
async def aiogram_watcher(self, message: BotInlineMessage):
if message.text != "/profile":
return
if message.sender.id != self.client.tg_id:
await message.answer("You are not allowed to use this")
if message.sender.id != self.client.tg_id:
await message.answer("You are not allowed to use this")
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()))